| Class | Description |
|---|---|
| AbcMetricAstVisitor | |
| AbcMetricRule | Rule that calculates the ABC metric score 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. |
| ParameterCountAstVisitor | |
| ParameterCountRule | Checks if the number of parameters in method/constructor exceeds the number of parameters specified by the maxParameters property. |