|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.size.ClassSizeRule
class ClassSizeRule extends AbstractAstVisitorRule
Rule that checks the size of a class.
ThemaxLines property holds the threshold value for the maximum number of lines. A
class length (number of lines) greater than that value is considered a violation. The
maxLines property defaults to 1000.
| Property Summary | |
|---|---|
Class |
astVisitorClass
|
int |
maxLines
|
String |
name
|
int |
priority
|
| Property Detail |
|---|
Class astVisitorClass
int maxLines
String name
int priority
Groovy Documentation