Groovy Documentation

Package groovy.org.codenarc.rule.size

 

Class Summary
AbcComplexityAstVisitor
AbcComplexityRule Rule that calculates the ABC Complexity for methods/classes and checks against configured threshold values.
AbstractMethodMetricAstVisitor Abstract superclass for AstVisitor classes that use method-level GMetrics Metrics.
ClassSizeAstVisitor
ClassSizeRule Rule that checks the size of a class.
CrapMetricAstVisitor
CrapMetricRule Rule that calculates the CRAP Metric for methods/classes and checks against configured threshold values.
CyclomaticComplexityAstVisitor
CyclomaticComplexityRule Rule that calculates the Cyclomatic Complexity for methods/classes and checks against configured threshold values.
GMetricsSourceCodeAdapter Adapter that adapts from a GMetrics SourceCode object to a CodeNarc SourceCode object.
MethodCountAstVisitor
MethodCountRule A class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine-grained objects.
MethodSizeAstVisitor
MethodSizeRule Rule that checks the size of a method.
NestedBlockDepthAstVisitor
NestedBlockDepthRule Rule that checks for blocks or closures nested more than a configured maximum number.
 


Groovy Documentation