Development:Software:MISRA

From rusEfi
Jump to: navigation, search

MISRA-C:2004 Rules

Environment

RuleStatus
1.1?
1.2Global-OK.png
1.3Global-OK.png
1.4Global-OK.png
1.5?

Language extensions

RuleStatus
2.1?
2.2?
2.3Global-OK.png
2.4?

Documentation

RuleStatus
3.1?
3.2?
3.3?
3.4?
3.5?
3.6?

Character sets

RuleStatus
4.1?
4.2?

Identifiers

RuleStatus
5.1Red-X.png ChibiOS
5.2Red-X.png ChibiOS, TODO rusEfi
5.3?
5.4Red-X.png Come on, I want to cast from int to enum
5.5?
5.6?
5.7?

Types

RuleStatus
6.1?
6.2?
6.3?
6.4Red-X.png ChibiOS
6.5Global-OK.png

Constants

RuleStatus
7.1?

Declarations and definitions

RuleStatus
8.1?
8.2[[File:global-OK.png]
8.3[[File:global-OK.png]
8.4?
8.5Red-X.png ChibiOS
8.6?
8.7?
8.8?
8.9?
8.10?
8.11?
8.12?

Initialisation

RuleStatus
9.1?
9.2?
9.3?

Arithmetic type conversion

RuleStatus
10.1?
10.2?
10.3?
10.4Red-X.png Excuse me what are suggesting?
10.5Red-X.png chibios
10.6?

Pointer type conversion

RuleStatus
11.1?

Expressions

RuleStatus
12.2Red-X.png Chibios

Control statement expressions

RuleStatus
13.1?

Control flow

RuleStatus
14.1?
14.4Red-X.png Chibios :(

Switch statements

RuleStatus
15.3Red-X.png Chibios

Functions

Pointers and arrays

RuleStatus
17.1?
17.2?
17.3Global-OK.png
17.4?

Structures and unions

Preprocessinf directives

RuleStatus
19.6Red-X.png Chibios

Standard libraries