| Class | Description |
|---|---|
| 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 | |
| GenericLiteralCheckerRule |
This class allow to match a Literal (most likely a String) with a regex pattern.
|
| IdempotentOperations | |
| ImportWrapper | |
| MethodNamingConventions | |
| MethodWithSameNameAsEnclosingClass | |
| MoreThanOneLogger | |
| OverrideBothEqualsAndHashcode | |
| SimplifyBooleanReturns | |
| StringConcatenationRule | |
| SuspiciousOctalEscape | |
| SymbolTableTestRule | |
| UnnecessaryConversionTemporary | |
| UnusedFormalParameterRule | |
| UnusedLocalVariableRule | |
| UnusedModifier | |
| UnusedPrivateFieldRule | |
| UnusedPrivateMethodRule | |
| UselessAssignment | |
| UselessOperationOnImmutable |
An operation on an Immutable object (String, 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".
|