Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed C-specific rule/rec designations

...

  • 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

Numeric values in the range of 00-49 are reserved for recommendations, while values in the range of 50-99 are reserved for rules. (The values used for C are different. It uses 00-29 for recommendations and 30-99 for rules.)

Supported Languages and Platforms

See the table below for a summary of supported languages and platforms:

Suffix

Language/Platform

-

A

Android

-

C

C

-CPP

C++

-J

Java

-

P

PL

Perl

Examples

Here are some example identifiers with an explanation of each:

...

“-CPP” stands for the C++ language

...


EXP00-J Do not ignore values returned by methods

...

“-J” stands for the Java language

 

INT02-A Do not act on malicious intents

“INT” stands for the Intent category

“02” is the unique identifier

“-A” stands for the Android platform

  

         FLP00-C. Understand the limitations of floating-point numbers

...

                “-C” stands for the C programming language