| CodePres_1_DeclarationPerLine | Each line must contain no more than one declaration.
|
| CodePres_2_NumberStatements | The number of statements shall not exceed 100 in a function and 1000 in a module.
|
| CodePres_3_FileLength | A file shall not exceed 2000 lines. |
| CodePres_4_StatementSwitch | The number of first level statements in each clause of a switch statement shall not exceed 10.
|
| CodePres_5_StatementSwitch | The total number of statements in each clause of a switch statement shall not exceed 25 (all levels included). |
| CodePres_6_CommentStatementLine | A comment must be on a line without any statement. The exception concerns a comment written on a single line after a statement.
|
| CodePres_7_ExtensionHeader | Included files have the extension .h. |
| CodePres_8_EnumBoolean | Systematically define a Boolean enumerated type containing two values: true and false. |
| CodePres_9_ParamFunction | The number of parameters of a function is limited to 7. |
| CodePres_10_StatementPerLine | No more than one basic statement per line. |
| CodePres_11_ControlStructure | A control structure (do, while, for, if, else, switch, return, break, continue) shall start on a new line.
|
| CodePres_12_BlankLine | Function definition/declaration and function body must be separated by a blank line. |
| CodePres_13_Brace | Each brace (opening and closing) must be placed alone on a line. |
| CodePres_14_CommentDeclaration | Each declaration (type, variable, enumeration item, structure field) is commented. |
| CodePres_15_PointerDeclaration | In the declaration of a pointer to a data type, the * character shall be stuck to the pointer’s identifier. |
| CodePres_16_SpacingRef | There shall be no blank before or after the . and -> operators. |
| CodePres_17_SpacingOperator | Operators ++, -, & (functionAddress), * (functionRef) shall be stuck to their operand. |
| CodePres_18_SpacingParameter | Do not insert a blank after the opening parenthesis or before the closing one. |
| CodePres_19_LineLength | A line in a source file shall not exceed 80 characters. |
| CodePres_25_SingleLineComment | Comments shall be one line long. |
| CodePres_26_CommentDefinition | All the definitions got a comment. |
| CodePres_28_Definitions | A module’s “.c” body file must contain the “in public” definitions of the exported functions, and the “in public” definitions of the exported variables. |
| CodePres_29_SpacingUnaryOperator | Unary operators ! and ~ must be stuck to their operand to avoid confusion with binary operators. |
| CodePres_30_Define | The #define preprocessing directives shall be grouped altogether. |