6.2.11.3. CQMMetrics¶
Code-Quality-Management metrics
Metrics based on the 2006 book Code-Quality-Management. Includes metrics on various source code characteristics.
Reference
Simon, Frank/ Seng, Olaf/ Mohaupt, Thomas (2006): Code-Quality-Management: Technische Qualität industrieller Softwaresysteme transparent und vergleichbar gemacht, 1st ed., Heidelberg, Germany: dpunkt.verlag GmbH.
Nested Rules
Counts the number of dead routines |
|
Number of cloned lines of code |
|
The number of cycles at class level |
|
ForbiddenLoveFile |
|
ForbiddenLoveRoutine |
|
Lines of Code in a File (Empty, Comment, Code) |
|
Lines of Code in a Routine (Empty, Comment, Code) |
|
Code contains comments that point to it being incomplete |
|
Routine Complexity |
|
Number of Parameters |
|
Number of CodingStyle-Naming violations |
|
Number of CodingStyle-Naming violations, per rule |
|
Number of prenatal or postnatal communications |
|
Ratio between all lines of code and lines containing comments |
|
Violation counts of metrics and stylechecks |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
This rule shares the following common metric options: base_view_name, excluded_node_types, hierarchy_edge_name, hierarchy_view_name, propagate, report_all_values, report_propagated_values
The following places define options that affect this rule: Analysis-GlobalOptions
This rule has no individual options.