|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.AbstractPropertySource
net.sourceforge.pmd.lang.rule.AbstractRule
net.sourceforge.pmd.lang.plsql.rule.AbstractPLSQLRule
net.sourceforge.pmd.lang.plsql.rule.AbstractStatisticalPLSQLRule
net.sourceforge.pmd.lang.plsql.rule.design.ExcessiveNodeCountRule
net.sourceforge.pmd.lang.plsql.rule.codesize.ExcessiveParameterListRule
public class ExcessiveParameterListRule
This rule detects an abnormally long parameter list. Note: This counts Nodes, and not necessarily parameters, so the numbers may not match up. (But topcount and sigma should work.)
Field Summary |
---|
Fields inherited from class net.sourceforge.pmd.AbstractPropertySource |
---|
propertyDescriptors, propertyValuesByDescriptor |
Fields inherited from interface net.sourceforge.pmd.lang.rule.stat.StatisticalRule |
---|
MINIMUM_DESCRIPTOR, SIGMA_DESCRIPTOR, TOP_SCORE_DESCRIPTOR |
Fields inherited from interface net.sourceforge.pmd.Rule |
---|
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR |
Constructor Summary | |
---|---|
ExcessiveParameterListRule()
|
Method Summary | |
---|---|
Object |
visit(ASTFormalParameter node,
Object data)
|
Methods inherited from class net.sourceforge.pmd.lang.plsql.rule.design.ExcessiveNodeCountRule |
---|
visit |
Methods inherited from class net.sourceforge.pmd.lang.plsql.rule.AbstractStatisticalPLSQLRule |
---|
addDataPoint, apply, getViolationParameters |
Methods inherited from class net.sourceforge.pmd.AbstractPropertySource |
---|
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sourceforge.pmd.PropertySource |
---|
definePropertyDescriptor, dysfunctionReason, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues |
Constructor Detail |
---|
public ExcessiveParameterListRule()
Method Detail |
---|
public Object visit(ASTFormalParameter node, Object data)
visit
in interface PLSQLParserVisitor
visit
in class AbstractPLSQLRule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |