Rule Definition
Unreferenced views may be the symptom of Dead Code. And dead Code must be avoided as it makes source code less readable and increases the cost of the software maintenance. A view is flagged as unreferenced when it is not called.
Warning:
Unreference code can also be the symptoms of missing code (code not included in the source code analysis) and / or can be the symptom of use of polymorphism.
Remediation
inspect code, check it is truly unnecessary.
Remove views that are not used.
Related Technologies
DB2 Server
PL/SQL
Microsoft T-SQL
Sybase T-SQL
DB2 z/OS
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.