Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Rules

Content by Label
showLabelsfalse
max99
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@3bbaf8c
showSpacefalse
sorttitle
cqllabel = "met" and label = "rule" and space = currentSpace()
labels+met +rule

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. For methods that return an array or collection prefer returning an empty array or collection over a null value

MET04-J. Always provide feedback about the resulting value of a method

MET05-J. Validate method parameters

MET06-J. Methods that perform a security check must be declared private or final

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. Do not subject overloaded methods to polymorphic invocations

MET34-J. Follow the general contract when implementing the compareTo method

MET35-J. Ensure that the clone method calls super.clone

MET36-J. Do not use deprecated methods

MET37-J. Do not call overridable methods from a privileged block

MET38-J. Do not invoke overridable methods from the clone method

Risk Assessment Summary

Recommendations

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

MET00-JHigh low Likely unlikely No medium No

P2 P9

L3 L2

MET01-JMedium low Probable unlikely No high Yes

P1 P8

L3 L2

MET02-JLow low Unlikely unlikely Yes high No

P1 P2

L3

MET03-JMedium low Probable unlikely No high No

P1 P4

L3

MET04-JMedium medium Probable probable Yes medium No

P8

L2

MET05-JMedium medium Probable probable Yes medium No

P8

L2

MET06-JMediumProbable medium probable Yes medium No

P8

L2

...

Rules Severity Likelihood Remediation Cost Priority Level
MET07-JLowUnlikelyYesNo

P2

L3 MET30

MET08-JLow low Unlikely unlikely No medium No

P2 P1

L3 MET31

MET09-JLow low Unlikely unlikely Yes high No

P1 P2

L3 MET32

MET10-JMedium medium Unlikely probable No medium No

P8 P2

L2 L3 MET33

MET11-JLowProbable low unlikely Yes high No

P1 P4

L3 MET34

MET12-JMediumProbable medium unlikely Yes medium No

P4 P8

L3 L2

MET13-JMediumLikelyNoNo

P6

L2


...

Image Added Image Added Image AddedCON39-J. Ensure atomicity of 64-bit operations      The CERT Sun Microsystems Secure Coding Standard for Java      MET00-J. Understand the difference between overriding and hiding