Description
The product contains dead code, which can never be executed.
Potential Impact
- Other: Quality Degradation
- Other: Reduce Maintainability
How to Fix
Implementation
Remove dead code before deploying the application.
Testing
Use a static analysis tool to spot dead code.
Detection Methods
- Architecture or Design Review: According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Inspe...
- Automated Static Analysis - Binary or Bytecode: According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Binar...
- Dynamic Analysis with Manual Results Interpretation: According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
...
Related Weaknesses
References
View on MITRE CWE Database →