Recommendations
EXP00-J. Use the same type for the second and third operands in conditional expressions
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
EXP05-J. Be careful about the wrapper class and autoboxing
Rules
Risk Assessment Summary
Recommendations
Recommendation |
Severity |
Likelihood |
Remediation Cost |
Priority |
Level |
|---|---|---|---|---|---|
EXP00-J |
low |
unlikely |
medium |
P2 |
L3 |
EXP02-J |
medium |
probable |
medium |
P8 |
L2 |
EXP03-J |
low |
unlikely |
medium |
P2 |
L3 |
EXP04-J |
low |
unlikely |
medium |
P2 |
L3 |
DCL01-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