|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.ecmascript.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.ecmascript.rule | |
---|---|
class |
AbstractEcmascriptRule
|
class |
EcmascriptXPathRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.ecmascript.rule.basic |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.ecmascript.rule.basic | |
---|---|
class |
ConsistentReturnRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.dfa |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.dfa | |
---|---|
class |
JavaDFAGraphRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule | |
---|---|
class |
AbstractInefficientZeroCheck
This is an abstract rule for patterns which compare a method invocation to 0. |
class |
AbstractJavaRule
|
class |
AbstractPoorMethodCall
Detects and flags the occurrences of specific method calls against an instance of a designated class. |
class |
AbstractStatisticalJavaRule
|
class |
GenericLiteralCheckerRule
This class allow to match a Literal (most likely a String) with a regex pattern. |
class |
StringConcatenationRule
|
class |
SymbolTableTestRule
|
class |
UselessAssignment
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.basic |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.basic | |
---|---|
class |
AvoidBranchingStatementAsLastInLoopRule
|
class |
AvoidMultipleUnaryOperatorsRule
|
class |
AvoidUsingHardCodedIPRule
|
class |
AvoidUsingOctalValuesRule
|
class |
BigIntegerInstantiationRule
Rule that marks instantiations of new BigInteger or BigDecimal objects,
when there is a well-known constant available, such as BigInteger.ZERO . |
class |
BooleanInstantiationRule
Avoid instantiating Boolean objects; you can reference Boolean.TRUE, Boolean.FALSE, or call Boolean.valueOf() instead. |
class |
BrokenNullCheckRule
|
class |
CheckResultSetRule
Rule that verifies, that the return values of next(), first(), last(), etc. |
class |
CheckSkipResultRule
|
class |
DoubleCheckedLockingRule
void method() { if(x == null) { synchronized(this){ if(x == null) { x = new | method(); } } } 1. |
class |
OverrideBothEqualsAndHashcodeRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.codesize |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.codesize | |
---|---|
class |
AbstractNcssCountRule
Abstract superclass for NCSS counting methods. |
class |
CyclomaticComplexityRule
|
class |
ExcessiveClassLengthRule
This rule detects when a class exceeds a certain threshold. |
class |
ExcessiveMethodLengthRule
This rule detects when a method exceeds a certain threshold. |
class |
ExcessiveParameterListRule
This rule detects an abnormally long parameter list. |
class |
ExcessivePublicCountRule
|
class |
ModifiedCyclomaticComplexityRule
Implements the modified cyclomatic complexity rule |
class |
NcssConstructorCountRule
Non-commented source statement counter for constructors. |
class |
NcssMethodCountRule
Non-commented source statement counter for methods. |
class |
NcssTypeCountRule
Non-commented source statement counter for type declarations. |
class |
NPathComplexityRule
NPath complexity is a measurement of the acyclic execution paths through a function. |
class |
StdCyclomaticComplexityRule
Implements the standard cyclomatic complexity rule |
class |
TooManyFieldsRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.comments |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.comments | |
---|---|
class |
AbstractCommentRule
|
class |
CodeInCommentsRule
|
class |
CommentContentRule
A rule that checks for illegal words in the comment text. |
class |
CommentRequiredRule
|
class |
CommentSizeRule
A rule to manage those who just can't shut up... |
class |
HeaderCommentsRule
Restrictions regarding the legal placement and content of the file header. |
class |
JavadocRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.controversial |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.controversial | |
---|---|
class |
AssignmentInOperandRule
|
class |
DataflowAnomalyAnalysisRule
Starts path search for each method and runs code if found. |
class |
DontImportSunRule
|
class |
NullAssignmentRule
|
class |
OnlyOneReturnRule
|
class |
SuspiciousOctalEscapeRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.coupling |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.coupling | |
---|---|
class |
CouplingBetweenObjectsRule
CouplingBetweenObjects attempts to capture all unique Class attributes, local variables, and return types to determine how many objects a class is coupled to. |
class |
ExcessiveImportsRule
ExcessiveImports attempts to count all unique imports a class contains. |
class |
LawOfDemeterRule
This rule can detect possible violations of the Law of Demeter. |
class |
LooseCouplingRule
|
class |
LoosePackageCouplingRule
The loose package coupling Rule can be used to ensure coupling outside of a package hierarchy is minimized to all but an allowed set of classes from within the package hierarchy. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.design |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.design | |
---|---|
class |
AccessorClassGenerationRule
1. |
class |
AssignmentToNonFinalStaticRule
|
class |
AvoidDeeplyNestedIfStmtsRule
|
class |
AvoidReassigningParametersRule
|
class |
CloseResourceRule
Makes sure you close your database connections. |
class |
CompareObjectsWithEqualsRule
|
class |
ConfusingTernaryRule
if (x != y) { diff(); } else { same(); } and (!x ? diff() : same());. |
class |
ConstructorCallsOverridableMethodRule
Searches through all methods and constructors called from constructors. |
class |
ExcessiveLengthRule
This is a common super class for things which have excessive length. |
class |
ExcessiveNodeCountRule
This is a common super class for things which shouldn't have excessive nodes underneath. |
class |
FieldDeclarationsShouldBeAtStartOfClassRule
Detects fields that are declared after methods, constructors, etc. |
class |
GenericClassCounterRule
A generic rule that can be configured to "count" classes of certain type based on either their name (full name, prefix, suffixes anything can be matched with a regex), and/or their type. |
class |
GodClassRule
The God Class Rule detects a the God Class design flaw using metrics. |
class |
IdempotentOperationsRule
|
class |
ImmutableFieldRule
|
class |
NonThreadSafeSingletonRule
|
class |
PositionalIteratorRule
|
class |
PreserveStackTraceRule
|
class |
SimplifyBooleanReturnsRule
|
class |
SingularFieldRule
|
class |
SwitchDensityRule
|
class |
UnnecessaryLocalBeforeReturnRule
|
class |
UnsynchronizedStaticDateFormatterRule
Using a DateFormatter (SimpleDateFormatter) which is static can cause unexpected results when used in a multi-threaded environment. |
class |
UseCollectionIsEmptyRule
Detect structures like "foo.size() == 0" and suggest replacing them with foo.isEmpty(). |
class |
UseUtilityClassRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.finalizers |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.finalizers | |
---|---|
class |
AvoidCallingFinalizeRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.imports |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.imports | |
---|---|
class |
DontImportJavaLangRule
|
class |
DuplicateImportsRule
|
class |
ImportFromSamePackageRule
|
class |
UnnecessaryFullyQualifiedNameRule
|
class |
UnusedImportsRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.javabeans |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.javabeans | |
---|---|
class |
BeanMembersShouldSerializeRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.junit |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.junit | |
---|---|
class |
AbstractJUnitRule
|
class |
JUnitAssertionsShouldIncludeMessageRule
|
class |
JUnitTestsShouldIncludeAssertRule
|
class |
TestClassWithoutTestCasesRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.logging |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.logging | |
---|---|
class |
GuardDebugLoggingRule
|
class |
GuardLogStatementJavaUtilRule
|
class |
GuardLogStatementRule
Check that log.debug, log.trace, log.error, etc... |
class |
MoreThanOneLoggerRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.migrating |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.migrating | |
---|---|
class |
JUnitUseExpectedRule
This rule finds code like this: |
class |
UnnecessaryCastRule
This is a rule, that detects unnecessary casts when using Java 1.5 generics and collections. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.naming |
---|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.optimizations |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.optimizations | |
---|---|
class |
AbstractOptimizationRule
Base class with utility methods for optimization rules |
class |
AvoidInstantiatingObjectsInLoopsRule
|
class |
LocalVariableCouldBeFinalRule
|
class |
MethodArgumentCouldBeFinalRule
|
class |
PrematureDeclarationRule
Checks for variables in methods that are defined before they are really needed. |
class |
RedundantFieldInitializerRule
Detects redundant field initializers, i.e. |
class |
UnnecessaryWrapperObjectCreationRule
|
class |
UseStringBufferForStringAppendsRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.strictexception |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.strictexception | |
---|---|
class |
AvoidCatchingThrowableRule
Finds catch statements containing throwable as the
type definition. |
class |
ExceptionAsFlowControlRule
Catches the use of exception statements as a flow control device. |
class |
SignatureDeclareThrowsExceptionRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.strings |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.strings | |
---|---|
class |
AppendCharacterWithCharRule
This rule finds the following: |
class |
AvoidDuplicateLiteralsRule
|
class |
ConsecutiveAppendsShouldReuseRule
Original rule was written with XPath, but didn't verify whether the two calls to append would have been done on the same variable. |
class |
ConsecutiveLiteralAppendsRule
This rule finds concurrent calls to StringBuffer/Builder.append where String literals are used It would be much better to make these calls using one call to .append example: |
class |
InefficientEmptyStringCheckRule
This rule finds code which inefficiently determines empty strings. |
class |
InefficientStringBufferingRule
How this rule works: find additive expressions: + check that the addition is between anything other than two literals if true and also the parent is StringBuffer constructor or append, report a violation. |
class |
InsufficientStringBufferDeclarationRule
This rule finds StringBuffers which may have been pre-sized incorrectly See http://sourceforge.net/forum/forum.php?thread_id=1438119&forum_id=188194 |
class |
StringInstantiationRule
|
class |
StringToStringRule
|
class |
UnnecessaryCaseChangeRule
|
class |
UseIndexOfCharRule
|
class |
UselessStringValueOfRule
|
class |
UseStringBufferLengthRule
This rule finds places where StringBuffer.toString() is called just to see if the string is 0 length by either using .equals("") or toString().length() |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.sunsecure |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.sunsecure | |
---|---|
class |
AbstractSunSecureRule
Utility methods for the package Created on Jan 17, 2005 |
class |
ArrayIsStoredDirectlyRule
If a method or constructor receives an array as an argument, the array should be cloned instead of directly stored. |
class |
MethodReturnsInternalArrayRule
Implementation note: this rule currently ignores return types of y.x.z, currently it handles only local type fields. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.unnecessary |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.unnecessary | |
---|---|
class |
UnnecessaryConversionTemporaryRule
|
class |
UnnecessaryReturnRule
|
class |
UselessOperationOnImmutableRule
An operation on an Immutable object (String, BigDecimal or BigInteger) won't change the object itself. |
class |
UselessOverridingMethodRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.unusedcode |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.rule.unusedcode | |
---|---|
class |
UnusedFormalParameterRule
|
class |
UnusedLocalVariableRule
|
class |
UnusedModifierRule
|
class |
UnusedPrivateFieldRule
|
class |
UnusedPrivateMethodRule
This rule detects private methods, that are not used and can therefore be deleted. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.typeresolution.rules |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.typeresolution.rules | |
---|---|
class |
CloneMethodMustImplementCloneable
The method clone() should only be implemented if the class implements the Cloneable interface with the exception of a final method that only throws CloneNotSupportedException. |
class |
LooseCoupling
This is a separate rule, uses the type resolution facade |
class |
SignatureDeclareThrowsException
A method/constructor shouldn't explicitly throw java.lang.Exception, since it is unclear which exceptions that can be thrown from the methods. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.java.typeresolution.rules.imports |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.java.typeresolution.rules.imports | |
---|---|
class |
UnusedImports
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.jsp.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.jsp.rule | |
---|---|
class |
AbstractJspRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.jsp.rule.basic |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.jsp.rule.basic | |
---|---|
class |
DuplicateJspImportsRule
|
class |
NoInlineStyleInformationRule
This rule checks that no "style" elements (like , , ...) are used, and that no "style" attributes (like "font", "size", "align") are used. |
class |
NoUnsanitizedJSPExpressionRule
This rule detects unsanitized JSP Expressions (can lead to Cross Site Scripting (XSS) attacks) |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.plsql.dfa |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.plsql.dfa | |
---|---|
class |
DFAPLSQLGraphRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.plsql.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.plsql.rule | |
---|---|
class |
AbstractPLSQLRule
|
class |
AbstractStatisticalPLSQLRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.plsql.rule.codesize |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.plsql.rule.codesize | |
---|---|
class |
ExcessiveObjectLengthRule
This rule detects when an Oracle object exceeds a certain threshold. |
class |
ExcessivePackageBodyLengthRule
This rule detects when a class exceeds a certain threshold. |
class |
ExcessivePackageSpecificationLengthRule
This rule detects when a class exceeds a certain threshold. |
class |
ExcessiveTypeLengthRule
This rule detects when a class exceeds a certain threshold. |
class |
NcssObjectCountRule
Non-commented source statement counter for Oracle Object declarations. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.rule | |
---|---|
class |
AbstractRule
Basic abstract implementation of all parser-independent methods of the Rule interface. |
class |
MockRule
This is a Rule implementation which can be used in scenarios where an actual functional Rule is not needed. |
class |
XPathRule
Rule that tries to match an XPath expression against a DOM view of an AST. |
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.vm.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.vm.rule | |
---|---|
class |
AbstractStatisticalVmRule
|
class |
AbstractVmRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.vm.rule.basic |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.vm.rule.basic | |
---|---|
class |
CollapsibleIfStatementsRule
|
class |
EmptyForeachStmtRule
|
class |
EmptyIfStmtRule
|
class |
ExcessiveTemplateLengthRule
|
class |
NoInlineJavaScriptRule
|
class |
UnusedMacroParameterRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.lang.xml.rule |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.lang.xml.rule | |
---|---|
class |
AbstractDomXmlRule
This is a base class for XML Java bases rules that which to visit the nodes using the DOM. |
class |
AbstractXmlRule
This is a base class for XML Java bases rules. |
class |
XmlXPathRule
|
Uses of AbstractPropertySource in net.sourceforge.pmd.renderers |
---|
Subclasses of AbstractPropertySource in net.sourceforge.pmd.renderers | |
---|---|
class |
AbstractAccumulatingRenderer
Abstract base class for Renderer implementations which only produce
output once all source files are processed. |
class |
AbstractIncrementingRenderer
Abstract base class for Renderer implementations which can produce
output incrementally for RuleViolation s as source files are
processed. |
class |
AbstractRenderer
Abstract base class for Renderer implementations. |
class |
CSVRenderer
Renderer the results to a comma-delimited text format. |
class |
EmacsRenderer
Renderer to GNU Emacs parsable format. |
class |
HTMLRenderer
Renderer to basic HTML format. |
class |
IDEAJRenderer
Renderer for IntelliJ IDEA integration. |
class |
SummaryHTMLRenderer
Renderer to a summarized HTML format. |
class |
TextColorRenderer
A console renderer with optional color support under *nix systems. |
class |
TextPadRenderer
A Renderer for running PMD via a TextPad 'tool'. |
class |
TextRenderer
Renderer to simple text format. |
class |
VBHTMLRenderer
Renderer to another HTML format. |
class |
XMLRenderer
Renderer to XML format. |
class |
XSLTRenderer
Renderer to XML format with a XSL Transformation applied. |
class |
YAHTMLRenderer
Renderer to another HTML format. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |