...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
CodeSonar |
| LANG.STRUCT.EBS LANG.STRUCT.RC MISC.NOEFFECT | Empty {Branch, for, if, switch, while} Statement Redundant Condition Funcion Function Call Has No Effect | ||||||
| NO_EFFECT | Finds statements or expressions that do not accomplish anything or statements that perform an unintended action | |||||||
| CC2.MSC12 | Partially implemented | |||||||
3.0 | Options detect unused local variables or nonconstant static variables and unused function parameters, respectively | ||||||||
| EFFECT |
| |||||||
| 65 D | Fully implemented | |||||||
PRQA QA-C |
| 3426,3427,3307,3110,3112,3404 | Partially implemented | ||||||
SonarQube Plugin |
| S1862, S1764, S1751, S1116, S1656 | |||||||
|
|
|
...
Related Guidelines
CERT C++ Secure Coding Standard | MSC12-CPP. Detect and remove code that has no effect |
ISO/IEC TR 24772 | Unspecified Functionality [BVQ] Likely Incorrect Expressions [KOA] Dead and Deactivated Code [XYQ] |
MISRA C:2012 | Rule 2.2 (required) |
...