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