Rules
| Content by Label | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Risk Assessment Summary
Rule | Severity | Likelihood | Detectable | Repairable |
|---|
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-J. Return zero-length arrays instead of null values
Rules
MET30-J. Follow the general contract while overriding the equals method
MET31-J. Ensure that hashCode() is overridden when equals() is overridden
MET32-J. Ensure that constructors do not call overridable methods
MET33-J. Invoke overloaded constructors or methods with caution
Risk Assessment Summary
Recommendations
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level | ||||
|---|---|---|---|---|---|---|---|---|---|
| MET00-J | High | low Likely | unlikely No | high No | P1 P9 | L3 L2 | |||
| MET01-J | Medium | low Probable | unlikely No | high Yes | P1 P8 | L3 L2 | |||
| MET02-J | Low | Unlikely low | unlikely Yes | high No | P1 P2 | L3 | |||
| MET03-J -J | Medium | Probable | No | No | P4 | L3 | |||
| MET04-J | Medium | Probable | Yes | No | P8 | L2 | |||
| MET05-J | Medium | Probable | Yes | No | P8 | L2 | |||
| MET06-J | Medium | Probable | Yes | No | P8 | L2 | |||
| MET07-J | Low | Unlikely | Yes | No | P2 | L3 | |||
| MET08-J | Low | Unlikely | No | No | low | unlikely | high | P1 | L3 |
...
| MET09-J | RulesLow | SeverityUnlikely | LikelihoodYes | Remediation CostNo | PriorityP2 | Level L3 MET30 |
| MET10-J | Medium | low Unlikely | unlikely No | medium No | P2 | L3 MET31 |
| MET11-J | Low | low Probable | unlikely Yes | high No | P1 P4 | L3 MET32 |
| MET12-J | Medium | Probable medium | probable Yes | medium No | P8 | L2 |
| MET13-J | Medium | Likely | No | No | P6 | L2 |
...
CON32-J. Prefer notifyAll() to notify() CERT Java Secure Coding Standard MET00-J. Understand the difference between overriding and hiding