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

Risk Assessment Summary

Recommendations

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

MET00-JHighLikely low unlikely No medium No

P2 P9

L3 L2

MET01-JMedium low Probable unlikely No high Yes

P1 P8

L3 L2

MET02-JLowUnlikely low unlikely Yes high No

P1 P2

L3

MET03-JMediumProbable low unlikely No high No

P1 P4

L3

MET04-JMediumProbable medium probable Yes medium No

P8

L2

MET05-JMediumProbable medium probable Yes medium No

P8

L2

...

Rules Severity Likelihood Remediation Cost Priority Level
MET06-JMediumProbableYesNo

P8

L2 MET30

MET07-JLowUnlikely low unlikely Yes medium No

P2

L3 MET31

MET08-JLowUnlikely low unlikely No high No

P1

L3 MET32

MET09-JLowUnlikely medium probable Yes medium No

P8 P2

L2 L3 MET33

MET10-JMedium low Unlikely unlikely No high No

P1 P2

L3 MET34

MET11-JLowProbable medium unlikely Yes medium No

P4

L3

MET12-JMediumProbableYesNo

P8

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