Class | Description |
---|---|
AbstractSunSecureRule |
Utility methods for the package
Created on Jan 17, 2005
|
AccessorClassGenerationRule |
1.
|
AccessorMethodGenerationRule | |
ArrayIsStoredDirectlyRule |
If a method or constructor receives an array as an argument, the array should
be cloned instead of directly stored.
|
AvoidReassigningParametersRule | |
AvoidUsingHardCodedIPRule | |
CheckResultSetRule |
Rule that verifies, that the return values of next(), first(), last(), etc.
|
ForLoopCanBeForeachRule | |
GuardLogStatementRule |
Check that log.debug, log.trace, log.error, etc...
|
JUnitAssertionsShouldIncludeMessageRule | |
JUnitTestsShouldIncludeAssertRule | |
JUnitUseExpectedRule |
This rule finds code like this:
|
LooseCouplingRule | |
MethodReturnsInternalArrayRule |
Implementation note: this rule currently ignores return types of y.x.z,
currently it handles only local type fields.
|
MissingOverrideRule |
Flags missing @Override annotations.
|
PreserveStackTraceRule | |
UnusedFormalParameterRule | |
UnusedImportsRule | |
UnusedLocalVariableRule | |
UnusedPrivateFieldRule | |
UnusedPrivateMethodRule |
This rule detects private methods, that are not used and can therefore be
deleted.
|
UseCollectionIsEmptyRule |
Detect structures like "foo.size() == 0" and suggest replacing them with
foo.isEmpty().
|
Copyright © 2002–2018 PMD. All rights reserved.