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.ASTMethodDeclaration;
06:
07: /**
08: * This rule detects when a method exceeds a certain
09: * threshold. i.e. if a method has more than x lines
10: * of code.
11: */
12: public class LongMethodRule extends ExcessiveLengthRule {
13: public LongMethodRule() {
14: super (ASTMethodDeclaration.class);
15: }
16: }
|