CRITICAL
Rule Definition
Unreferenced code may be a symptom of Dead Code. Dead Code must be avoided as it makes source code less readable and increases the cost of the software maintenance.
Warning:
Unreferenced code can also be an indication of missing code (code not included in the source code analysis) and / or can be a symptom of the use of polymorphism.
The intensive use of polymorphism can make the application easier to change but much more difficult to test, debug and stabilize.
Remediation
Review the source code of the application to minimize the number of unreferenced Interfaces.
Related Technologies
Technical Criterion
CWE-561 - Dead Code
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.