...
Code Block | ||||
---|---|---|---|---|
| ||||
if (a == b) { /* ... */ } |
Risk Assessment
Errors of omission can result in unintended program flow.
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
EXP15-C | High | Likely | Low | P27 | L1 |
Automated Detection
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
CodeSonar |
| LANG.STRUCT.EBS | Empty branch statement | ||||||
Klocwork |
| ||||||||
LDRA tool suite |
| 11 S, 12 S, 428 S | Fully Implemented | ||||||
Parasoft C/C++test |
| CERT-EXP-19 | Fully implemented | ||||||
PRQA QA-C |
| 3109 | |||||||
PVS-Studio |
| V529, V715 | |||||||
SonarQube C/C++ Plugin |
| S1116 |
...