01: /**
02: * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
03: */package net.sourceforge.pmd.rules.design;
04:
05: import net.sourceforge.pmd.ast.ASTClassOrInterfaceDeclaration;
06:
07: /**
08: * This rule detects when a class exceeds a certain
09: * threshold. i.e. if a class has more than 1000 lines
10: * of code.
11: */
12: public class LongClassRule extends ExcessiveLengthRule {
13: public LongClassRule() {
14: super (ASTClassOrInterfaceDeclaration.class);
15: }
16: }
|