Interface StatisticalRule
-
- All Superinterfaces:
PropertySource
,Rule
public interface StatisticalRule extends Rule
This interface tags a Rule as being a Statistical rule, producing various metrics from data points.- See Also:
DataPoint
,Metric
,StatisticalRuleHelper
-
-
Field Summary
Fields Modifier and Type Field Description static DoubleProperty
MINIMUM_DESCRIPTOR
static DoubleProperty
SIGMA_DESCRIPTOR
static IntegerProperty
TOP_SCORE_DESCRIPTOR
-
Fields inherited from interface net.sourceforge.pmd.Rule
VIOLATION_SUPPRESS_REGEX_DESCRIPTOR, VIOLATION_SUPPRESS_XPATH_DESCRIPTOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addDataPoint(DataPoint point)
java.lang.Object[]
getViolationParameters(DataPoint point)
-
Methods inherited from interface net.sourceforge.pmd.properties.PropertySource
definePropertyDescriptor, dysfunctionReason, getOverriddenPropertiesByPropertyDescriptor, getOverriddenPropertyDescriptors, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, isPropertyOverridden, setProperty, setProperty, useDefaultValueFor, usesDefaultValues
-
Methods inherited from interface net.sourceforge.pmd.Rule
addExample, addRuleChainVisit, addRuleChainVisit, apply, deepCopy, end, getDescription, getExamples, getExternalInfoUrl, getLanguage, getMaximumLanguageVersion, getMessage, getMinimumLanguageVersion, getName, getParserOptions, getPriority, getRuleChainVisits, getRuleClass, getRuleSetName, getSince, isDeprecated, isDfa, isMultifile, isRuleChain, isTypeResolution, setDeprecated, setDescription, setDfa, setExternalInfoUrl, setLanguage, setMaximumLanguageVersion, setMessage, setMinimumLanguageVersion, setMultifile, setName, setPriority, setRuleClass, setRuleSetName, setSince, setTypeResolution, setUsesDFA, setUsesMultifile, setUsesTypeResolution, start, usesDFA, usesMultifile, usesRuleChain, usesTypeResolution
-
-
-
-
Field Detail
-
SIGMA_DESCRIPTOR
static final DoubleProperty SIGMA_DESCRIPTOR
-
MINIMUM_DESCRIPTOR
static final DoubleProperty MINIMUM_DESCRIPTOR
-
TOP_SCORE_DESCRIPTOR
static final IntegerProperty TOP_SCORE_DESCRIPTOR
-
-