Size Rules ("rulesets/size.xml ")

ClassSize Rule

Checks if the size of a class exceeds the number of lines specified by the maxLines property.

Property Description Default Value
maxLines The maximum number of lines allowed in a class definition. 1000

MethodSize Rule

Checks if the size of a method exceeds the number of lines specified by the maxLines property.

Property Description Default Value
maxLines The maximum number of lines allowed in a method definition. 100