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 = "exp" and label = "rule" and space = currentSpace()
labels+exp +rule

Risk Assessment Summary

Rule

Severity

Likelihood

Detectable

Repairable

Recommendations

EXP00-J. Use the same type for the second and third operands in conditional expressions

EXP01-J. Ensure a null pointer is not dereferenced

EXP02-J. Do not ignore values returned by methods

EXP03-J. Do not compare string objects using equality or relational operators

EXP04-J. Be wary of invisible implicit casts when using compound assignment operators

EXP05-J. Be careful about the wrapper class and autoboxing

EXP06-J. Be aware of the short-circuit behavior of the conditional AND and OR operators

EXP07-J. Do not diminish the benefits of constants by assuming their values in expressions

EXP08-J. Be aware of integer promotions in binary operators

EXP09-J. Use parentheses for precedence of operation

Rules

EXP30-J. Do not depend on operator precedence while using expressions containing side-effects

EXP31-J. Avoid side effects in assertions

EXP32-J. Do not use the equal and not equal operators to compare boxed primitives

Risk Assessment Summary

Recommendations

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

EXP00-JMediumProbable low unlikely Yes medium No

P2 P8

L3 L2

EXP01-JLow TODO Likely TODO No

TODO

P???

Yes

P6

L2 L???

EXP02-JLow medium Likely probable Yes medium Yes

P8 P9

L2

EXP03-JLow low Likely unlikely Yes medium Yes

P2 P9

L3 L2

EXP04-JLowProbable low unlikely Yes medium No

P2 P4

L3 L2

EXP05-JLow low Unlikely probable Yes high No

P2

L3 EXP07

EXP06-J low Low unlikely Unlikely medium Yes

P2

L3

EXP09-J

low

probable

medium

P4

L3

Yes

P3

L3


...

Image Added Image Added Image AddedDCL01-J. Use 'L', not 'l', to indicate a long value      The CERT Sun Microsystems Secure Coding Standard for Java      EXP00-J. Use the same type for the second and third operands in conditional expressions