Characters and Strings (STR)
Rules
- STR00-J. Don't form strings containing partial characters from variable-width encodings
- STR01-J. Do not assume that a Java char fully represents a Unicode code point
- STR02-J. Specify an appropriate locale when comparing locale-dependent data
- STR03-J. Do not encode noncharacter data as a string
- STR04-J. Use compatible character encodings when communicating string data between JVMs
Risk Assessment Summary
| Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| STR00-J | Low | Unlikely | No | No | P1 | L3 |
| STR01-J | Low | Unlikely | No | No | P1 | L3 |
| STR02-J | Medium | Probable | No | No | P4 | L3 |
| STR03-J | Low | Unlikely | No | No | P1 | L3 |
| STR04-J | Low | Unlikely | No | No | P1 | L3 |


