Add a rule to check for non-private instance fields - #1891
Conversation
☀️ Quality MonitorTests Coverage for New Code 〰️ Line Coverage: 100.00% — perfect 🎉 Coverage for Whole Project 〰️ Line Coverage: 92.03% Style Bugs API Problems 🚫 Revapi: No warnings Vulnerabilities 🛡️ OWASP Dependency Check: No vulnerabilities Software Metrics 🌀 Cyclomatic Complexity: 397 (total) 📌 Reference ResultsDelta reports computed against the reference results of e2cc757 in workflow run 26908169672. 🚦 Quality GatesOverall Status: ✅ SUCCESS✅ Passed Gates
Created by Quality Monitor v4.15.0 (#82d77af). More details are shown in the GitHub Checks Result. |
One important consequence of information hiding is to make fields of classes always private. This should be enforced with an architecture rule.