Recommendations
MET00-J. Understand the difference between overriding and hiding
MET01-J. Follow good design principles while defining methods
MET02-J. Avoid ambiguous uses of overloading
MET03-A. Return zero-length arrays instead of null values
Rules
MET30-C. Follow the general contract while overriding the equals method
MET31-C. Ensure that hashCode is overridden when equals is overridden
MET32-C. Ensure that constructors do not call overridable methods
MET33-C. Invoke overloaded constructors or methods with caution
Risk Assessment Summary
Recommendations
Recommendation |
Severity |
Likelihood |
Remediation Cost |
Priority |
Level |
---|---|---|---|---|---|
MET00-A |
low |
unlikely |
medium |
P2 |
L3 |
Rules
Rules |
Severity |
Likelihood |
Remediation Cost |
Priority |
Level |
---|---|---|---|---|---|
MET30-C |
low |
unlikely |
medium |
P2 |
L3 |