01: package org.acm.seguin.pmd.rules.design;
02:
03: import net.sourceforge.jrefactory.ast.ASTClassDeclaration;
04:
05: /**
06: * This rule detects when a class exceeds a certain
07: * threshold. i.e. if a class has more than 1000 lines
08: * of code.
09: */
10: public class LongClassRule extends ExcessiveLengthRule {
11: public LongClassRule() {
12: super (ASTClassDeclaration.class);
13: }
14: }
|