Different identifiers shall be typographically unambiguous
Different identifiers shall be typographically unambiguous.
When you use identifiers that are typographically close, you can confuse between them.
The identifiers should not differ by:
The interchange of a lowercase letter with its uppercase equivalent.
The presence or absence of the underscore character.
The interchange of the letter O and the digit
0.
The interchange of the letter I and the digit
1.
The interchange of the letter I and the letter
l.
The interchange of the letter S and the digit
5.
The interchange of the letter Z and the digit
2.
The interchange of the letter n and the letter
h.
The interchange of the letter B and the digit
8.
The interchange of the letters rn and the letter
m.
The rule checker does not consider the fully qualified names of variables when checking this rule.
Bug Finder and Code Prover check this coding rule differently. The analyses can produce different results.
If you expect a rule violation but do not see it, refer to the documentation for Polyspace® Code Prover™ or Polyspace Code Prover Server™.
| Group: Lexical Conventions |
| Category: Required |