...
- a three-letter prefix that represents the topic the rule/recommendation belongs to
- a two-digit numeric value in the range of 00-99
- a suffix that represents the associated language or platform
...
Supported Languages and Platforms
See the table below for a summary of supported languages and platforms:
Suffix | Language/Platform |
-C | C |
-CPP | C++ |
-J | Java |
-PL | Perl |
Examples
Here are some example identifiers with an explanation of each:
INT50-CPP Do not cast to an out-of-range enumeration value
This identifier indicates a recommendation
“INT” stands for the Integer category
...
“-CPP” stands for the C++ language
...
EXP00-J Do not ignore values returned by methods
This identifier indicates a rule
“EXP” stands for the Expressions category
...
“-J” stands for the Java language
INT02-A Do not act on malicious intents
“INT” stands for the Intent category
...
FLP00-C. Understand the limitations of floating-point numbers
This identifier indicates a recommendation
“FLP” stands for the Floating Point category
“00” is the unique identifier
“-
...
C” stands for the C programming language
Supported Languages and Platforms
See the table below for a summary of the current languages and platforms we currently support:
Suffix | Language/Platform |
-A | Android |
-C | C |
-CPP | C++ |
-J | Java |
-P | Perl |