Overview
Package
Class
Tree
Deprecated
Index
Help
PREV PACKAGE
NEXT PACKAGE
FRAMES
NO FRAMES
All Classes
Package net.sourceforge.pmd.rules
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
AvoidFieldNameMatchingMethodName
AvoidFieldNameMatchingTypeName
AvoidNonConstructorMethodsWithClassName
AvoidReassigningParameters
BeanMembersShouldSerializeRule
ClassNamingConventions
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
IdempotentOperations
ImportWrapper
MethodNamingConventions
MethodWithSameNameAsEnclosingClass
MoreThanOneLogger
OverrideBothEqualsAndHashcode
SimplifyBooleanReturns
SingularField
StringConcatenationRule
SuspiciousOctalEscape
SymbolTableTestRule
UnnecessaryConversionTemporary
UnusedFormalParameterRule
UnusedLocalVariableRule
UnusedModifier
UnusedPrivateFieldRule
UnusedPrivateMethodRule
UselessAssignment
UselessOperationOnImmutable
An operation on an Immutable object (BigDecimal or BigInteger) won't change the object itself.
UselessOverridingMethod
VariableNamingConventions
XPathRule
Rule that tries to match an XPath expression against a DOM view of the AST of a "compilation unit".
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV PACKAGE
NEXT PACKAGE
FRAMES
NO FRAMES
All Classes