The presence of unused values may indicate significant logic errors. To prevent such errors, unused values should be identified and removed from code.
Wiki Markup |
---|
This recommendation is a specific case of \[[MSC12-A. Detect and remove code that has no effect]\]. |
Non-Compliant Code Example
...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
MSC13-A | 1 ( low ) 1 ( | unlikely ) | 2 ( medium ) | P2 | L3 |
Automated Detection
The LDRA tool suite V 7.6.0 is able to detect violations of this recommendation.
...