-
Notifications
You must be signed in to change notification settings - Fork 36
/
misra.config
25 lines (25 loc) · 1008 Bytes
/
misra.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"version" : "2.0",
"standard" : "c2012",
"title": "Coverity MISRA Configuration",
"deviations" : [
{
"deviation": "Directive 4.9",
"category": "Advisory",
"reason": "Allow inclusion of function like macros. The `assert` macro is used throughout the library for parameter validation, and logging is done using function like macros."
},
{
"deviation": "Rule 2.5",
"reason": "Allow unused macros. Library headers may define macros intended for the application's use, but not used by a specific file."
},
{
"deviation": "Rule 3.1",
"category": "Required",
"reason": "Allow nested comments. Documentation blocks contain comments for example code."
},
{
"deviation": "Rule 8.7",
"reason": "API functions are not used by library. They must be externally visible in order to be used by the application."
}
]
}