CQE-9161: Excessive Volume of Commented-out Code

 
Excessive Volume of Commented-out Code
[an error occurred while processing this directive] Definition in a New Window Definition in a New Window
Quality Issue ID: 9161 Maturity: Preliminary
+ Description

Description Summary

The software contains an excessive amount of code that has been commented out.

Extended Description

This pattern identifies situations where the named callable control element or method control element contains too much commented-out code items, based on the percentage of instructions in the callable or method control element that are in comments which exceeds the default threshold value of 2%.

+ Relationships
NatureTypeIDNameView(s) this relationship pertains to
View
ChildOf
Ch
Characteristic
9034Maintainability
Default Graph (primary)9001
ChildOf
Pr
Practice
9089Code Comments
Quality Issues Organized by Practices (primary)9002
CanPrecede
Co
Consequence
9113Excessive Modification Effort
Default Graph (primary)9001

Related Taxonomy Entries

TaxonomyVersionRelated ID
ASCMM1ASCMM-MNT-6
+ References
"Automated Source Code Maintainability Measure (ASCMM)". ASCMM-MNT-6. v1.0. Object Management Group (OMG). 2016-01-01. <http://www.omg.org/spec/ASCMM/1.0>.
Page Last Updated or Reviewed: October 01, 2017