-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathSideEffects5.json
More file actions
27 lines (27 loc) · 1 KB
/
SideEffects5.json
File metadata and controls
27 lines (27 loc) · 1 KB
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
26
27
{
"MISRA-C++-2023": {
"RULE-8-14-1": {
"properties": {
"enforcement": "undecidable",
"obligation": "advisory"
},
"queries": [
{
"description": "The right-hand operand of a logical && or || operator should not contain persistent side effects, as such side effects will only conditionally occur, which may violate developer intent and/or expectations.",
"kind": "problem",
"name": "The right-hand operand of a logical && or || operator should not contain persistent side effects",
"precision": "high",
"severity": "error",
"short_name": "ShortCircuitedPersistentSideEffect",
"shared_implementation_short_name": "ShortCircuitedPersistentSideEffectShared",
"tags": [
"scope/system",
"correctness",
"readability"
]
}
],
"title": "The right-hand operand of a logical && or || operator should not contain persistent side effects"
}
}
}