Class | Description |
---|---|
AbstractNcssCountRule |
Abstract superclass for NCSS counting methods.
|
AvoidDeeplyNestedIfStmtsRule | |
CouplingBetweenObjectsRule |
CouplingBetweenObjects attempts to capture all unique Class attributes, local
variables, and return types to determine how many objects a class is coupled
to.
|
CyclomaticComplexityRule |
Cyclomatic complexity rule using metrics.
|
DataClassRule | |
ExceptionAsFlowControlRule |
Catches the use of exception statements as a flow control device.
|
ExcessiveClassLengthRule |
This rule detects when a class exceeds a certain threshold.
|
ExcessiveImportsRule |
ExcessiveImports attempts to count all unique imports a class contains.
|
ExcessiveLengthRule |
This is a common super class for things which have excessive length.
|
ExcessiveMethodLengthRule |
This rule detects when a method exceeds a certain threshold.
|
ExcessiveNodeCountRule |
This is a common super class for things which shouldn't have excessive nodes
underneath.
|
ExcessiveParameterListRule |
This rule detects an abnormally long parameter list.
|
ExcessivePublicCountRule |
Rule attempts to count all public methods and public attributes
defined in a class.
|
GenericClassCounterRule |
A generic rule that can be configured to "count" classes of certain type
based on either their name (full name, prefix, suffixes anything can be
matched with a regex), and/or their type.
|
GodClassRule |
The God Class Rule detects the God Class design flaw using metrics.
|
ImmutableFieldRule | |
LawOfDemeterRule |
This rule can detect possible violations of the Law of Demeter.
|
LoosePackageCouplingRule |
The loose package coupling Rule can be used to ensure coupling outside of a
package hierarchy is minimized to all but an allowed set of classes from
within the package hierarchy.
|
ModifiedCyclomaticComplexityRule |
Implements the modified cyclomatic complexity rule
|
NcssConstructorCountRule |
Non-commented source statement counter for constructors.
|
NcssCountRule |
Simple rule for Ncss.
|
NcssMethodCountRule |
Non-commented source statement counter for methods.
|
NcssTypeCountRule |
Non-commented source statement counter for type declarations.
|
NPathComplexityRule |
Simple n-path complexity rule.
|
PositionalIteratorRule | |
SignatureDeclareThrowsExceptionRule |
A method/constructor shouldn't explicitly throw java.lang.Exception, since it
is unclear which exceptions that can be thrown from the methods.
|
SimplifyBooleanReturnsRule | |
SingularFieldRule | |
StdCyclomaticComplexityRule |
Implements the standard cyclomatic complexity rule
|
StdCyclomaticComplexityRule.Entry | |
SwitchDensityRule |
Switch Density - This is the number of statements over the number of
cases within a switch.
|
TooManyFieldsRule | |
UselessOverridingMethodRule | |
UseUtilityClassRule |
Copyright © 2002–2018 PMD. All rights reserved.