| Class Summary | |
|---|---|
| AbstractInefficientZeroCheck | This is an abstract rule for patterns which compare a method invocation to 0. |
| AbstractPoorMethodCall | Detects and flags the occurrences of specific method calls against an instance of a designated class. |
| AccessorClassGeneration | 1. |
| AssignmentInOperand | |
| AvoidCallingFinalize | |
| AvoidDeeplyNestedIfStmtsRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AvoidFieldNameMatchingMethodName | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AvoidFieldNameMatchingTypeName | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AvoidNonConstructorMethodsWithClassName | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AvoidReassigningParameters | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| BeanMembersShouldSerializeRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ClassNamingConventions | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CloseResource | Makes sure you close your database connections. |
| ConstructorCallsOverridableMethod | Searches through all methods and constructors called from constructors. |
| CouplingBetweenObjects | CouplingBetweenObjects attempts to capture all unique Class attributes, local variables, and return types to determine how many objects a class is coupled to. |
| CyclomaticComplexity | |
| DoubleCheckedLocking | void method() { if(x == null) { synchronized(this){ if(x == null) { x = new | method(); } } } 1. |
| ExcessiveImports | ExcessiveImports attempts to count all unique imports a class contains. |
| ExcessivePublicCount | |
| GenericLiteralCheckerRule | This class allow to match a Literal (most likely a String) with a regex pattern. |
| IdempotentOperations | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ImportWrapper | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MethodNamingConventions | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MethodWithSameNameAsEnclosingClass | |
| MoreThanOneLogger | |
| OverrideBothEqualsAndHashcode | |
| SimplifyBooleanReturns | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| StringConcatenationRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SuspiciousOctalEscape | |
| SymbolTableTestRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnnecessaryConversionTemporary | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnusedFormalParameterRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnusedLocalVariableRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnusedModifier | |
| UnusedPrivateFieldRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnusedPrivateMethodRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UselessAssignment | |
| UselessOperationOnImmutable | An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself. |
| UselessOverridingMethod | |
| VariableNamingConventions | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| XPathRule | Rule that tries to match an XPath expression against a DOM view of the AST of a "compilation unit". |