Package com.puppycrawl.tools.checkstyle.checks.metrics
Contains the Metrics checks that are
bundled with the main distribution.
-
Class Summary Class Description AbstractClassCouplingCheck Base class for coupling calculation.BooleanExpressionComplexityCheck Restricts the number of boolean operators (&&
,||
,&
,|
and^
) in an expression.ClassDataAbstractionCouplingCheck Measures the number of distinct classes that are instantiated within the given class or record.ClassFanOutComplexityCheck Checks the number of other types a given class/record/interface/enum/annotation relies on.CyclomaticComplexityCheck Checks cyclomatic complexity against a specified limit.JavaNCSSCheck Determines complexity of methods, classes and files by counting the Non Commenting Source Statements (NCSS).JavaNCSSCheck.Counter Class representing a counter.NPathComplexityCheck Checks the NPATH complexity against a specified limit.NPathComplexityCheck.TokenEnd Coordinates of token end.NPathComplexityCheck.Values Class that store range value and expression value.