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

CQM-DeadRoutines

Counts the number of dead routines

CQM-DuplicateCode

Number of cloned lines of code

CQM-ForbiddenLoveClass

The number of cycles at class level

CQM-ForbiddenLoveFile

ForbiddenLoveFile

CQM-ForbiddenLoveRoutine

ForbiddenLoveRoutine

CQM-GodFile

Lines of Code in a File (Empty, Comment, Code)

CQM-GodRoutine

Lines of Code in a Routine (Empty, Comment, Code)

CQM-IncompleteCode

Code contains comments that point to it being incomplete

CQM-LabyrinthRoutine

Routine Complexity

CQM-LongParameterList

Number of Parameters

CQM-NamingError

Number of CodingStyle-Naming violations

CQM-NamingErrorPR

Number of CodingStyle-Naming violations, per rule

CQM-PreOrPostnatalCommunication

Number of prenatal or postnatal communications

CQM-SloppyCommenting

Ratio between all lines of code and lines containing comments

CQM-ViolationCounts

Violation counts of metrics and stylechecks

Options