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

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-JHighLikely low unlikely No high No

P1 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-JMedium low Probable unlikely No high No

P1

L3

Rules

P4

L3

MET04-JMediumProbableYesNo

P8

L2

MET05-JMediumProbableYesNo

P8

L2

MET06-JMediumProbableYesNo

P8

L2

MET07-JLowUnlikelyYesNo

Rules

Severity

Likelihood

Remediation Cost

Priority

Level

MET30-J

low

unlikely

medium

P2

L3 MET31

MET08-JLow low Unlikely unlikely No high No

P1

L3

MET09-JLowUnlikelyYesNo

P2

L3 MET32

MET10-JMediumUnlikely medium probable No medium No

P8 P2

L2 L3

MET11-JLowProbableYesNo

P4

L3

MET12-JMediumProbableYesNo

P8

L2

MET13-JMediumLikelyNoNo

P6

L2


...

Image Added Image Added Image AddedCON34-J. Avoid deadlock by requesting fine-grained locks in the proper order      The CERT Sun Microsystems Secure Coding Standard for Java      MET00-J. Understand the difference between overriding and hiding