Class Summary | |
---|---|
AssignmentToNonFinalStatic | |
CompareObjectsWithEquals | |
ConfusingTernary | if (x ! |
ExceptionAsFlowControl | Catches the use of exception statements as a flow control device. |
ExcessiveLengthRule | This is a common super class for things which have excessive length. |
ExcessiveNodeCountRule | This is a common super class for things which shouldn't have excessive nodes underneath. |
ImmutableField | |
LongClassRule | This rule detects when a class exceeds a certain threshold. i.e. if a class has more than 1000 lines of code. |
LongMethodRule | This rule detects when a method exceeds a certain threshold. i.e. if a method has more than x lines of code. |
LongParameterListRule | This rule detects an abnormally long parameter list. |
LooseCoupling | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
NonThreadSafeSingleton | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
NpathComplexity | NPath complexity is a measurement of the acyclic execution paths through a function. |
NullAssignmentRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
OnlyOneReturnRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
PositionalIteratorRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
PreserveStackTrace | |
SwitchDensityRule | |
TooManyFields | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
UnnecessaryLocalBeforeReturn | |
UnsynchronizedStaticDateFormatter | Using a DateFormatter (SimpleDateFormatter) which is static can cause unexpected results when used in a multi threaded environment. |
UseCollectionIsEmpty | Detect structures like "foo.size() == 0" and suggest replacing them with foo.isEmpty(). |
UseSingleton | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |