| Class Summary | |
|---|---|
| AbstractJspRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AbstractNameDeclaration | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AbstractOptimizationRule | Base class with utility methods for optimization rules |
| AbstractRenderer | |
| AbstractReportNode | |
| AbstractRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AbstractScope | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AbstractSunSecureRule | Utility methods for the package |
| AccessNode | |
| AccessorClassGeneration | 1. |
| ActionCommands | contains action command constants |
| AnyLanguage | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AnyLanguage.AnyFileOrDirectoryFilter | |
| AnyTokenizer | This class does a best-guess try-anything tokenization. |
| AppendCharacterWithChar |
This rule finds the following:
StringBuffer.append("c"); // appends a
single character
It is preferable to use StringBuffer.append('c'); // appends a single
character Implementation of PMD RFE 1373863 |
| Applier | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ArrayIsStoredDirectly | |
| AssignmentToNonFinalStatic | |
| ASTAdditiveExpression | |
| ASTAllocationExpression | |
| ASTAndExpression | |
| ASTAnnotation | |
| ASTAnnotationTypeBody | |
| ASTAnnotationTypeDeclaration | |
| ASTAnnotationTypeMemberDeclaration | |
| ASTArgumentList | |
| ASTArguments | |
| ASTArrayDimsAndInits | |
| ASTArrayInitializer | |
| ASTAssertStatement | |
| ASTAssignmentOperator | |
| ASTAttribute | |
| ASTAttributeValue | |
| ASTBlock | |
| ASTBlockStatement | |
| ASTBooleanLiteral | |
| ASTBreakStatement | |
| ASTCastExpression | |
| ASTCastLookahead | |
| ASTCatchStatement | |
| ASTCData | |
| ASTClassOrInterfaceBody | |
| ASTClassOrInterfaceBodyDeclaration | |
| ASTClassOrInterfaceDeclaration | |
| ASTClassOrInterfaceType | |
| ASTCommentTag | |
| ASTCompilationUnit | |
| ASTCompilationUnit | |
| ASTConditionalAndExpression | |
| ASTConditionalExpression | |
| ASTConditionalOrExpression | |
| ASTConstructorDeclaration | |
| ASTContent | |
| ASTContinueStatement | |
| ASTDeclaration | |
| ASTDefaultValue | |
| ASTDoctypeDeclaration | |
| ASTDoctypeExternalId | |
| ASTDoStatement | |
| ASTElement | |
| ASTElExpression | |
| ASTEmptyStatement | |
| ASTEnumBody | |
| ASTEnumConstant | |
| ASTEnumDeclaration | |
| ASTEnumElement | |
| ASTEqualityExpression | |
| ASTExclusiveOrExpression | |
| ASTExplicitConstructorInvocation | |
| ASTExpression | |
| ASTExtendsList | |
| ASTFieldDeclaration | |
| ASTFinallyStatement | |
| ASTForInit | |
| ASTFormalParameter | |
| ASTFormalParameters | |
| ASTForStatement | |
| ASTForUpdate | |
| ASTIfStatement | |
| ASTImplementsList | |
| ASTImportDeclaration | |
| ASTInclusiveOrExpression | |
| ASTInitializer | |
| ASTInstanceOfExpression | |
| ASTJspComment | |
| ASTJspDeclaration | |
| ASTJspDeclarations | |
| ASTJspDirective | |
| ASTJspDirectiveAttribute | |
| ASTJspDocument | |
| ASTJspExpression | |
| ASTJspExpressionInAttribute | |
| ASTJspScriptlet | |
| ASTLabeledStatement | |
| ASTLiteral | |
| ASTLocalVariableDeclaration | |
| ASTMarkerAnnotation | |
| ASTMemberSelector | |
| ASTMemberValue | |
| ASTMemberValueArrayInitializer | |
| ASTMemberValuePair | |
| ASTMemberValuePairs | |
| ASTMethodDeclaration | |
| ASTMethodDeclarationLookahead | |
| ASTMethodDeclarator | |
| ASTModel | Model for the AST Panel Tree component |
| ASTModifiers | |
| ASTMultiplicativeExpression | |
| ASTName | |
| ASTNameList | |
| ASTNodePopupMenu | context sensetive menu for the AST Panel |
| ASTNormalAnnotation | |
| ASTNullLiteral | |
| ASTPackageDeclaration | |
| ASTPanel | tree panel GUI |
| ASTPostfixExpression | |
| ASTPreDecrementExpression | |
| ASTPreIncrementExpression | |
| ASTPrimaryExpression | |
| ASTPrimaryPrefix | |
| ASTPrimarySuffix | |
| ASTPrimitiveType | |
| ASTReferenceType | |
| ASTRelationalExpression | |
| ASTResultType | |
| ASTReturnStatement | |
| ASTRSIGNEDSHIFT | |
| ASTRUNSIGNEDSHIFT | |
| ASTShiftExpression | |
| ASTSingleMemberAnnotation | |
| ASTStatement | |
| ASTStatementExpression | |
| ASTStatementExpressionList | |
| ASTSwitchLabel | |
| ASTSwitchStatement | |
| ASTSynchronizedStatement | |
| ASTText | |
| ASTThrowStatement | |
| ASTTryStatement | |
| ASTType | |
| ASTTypeArgument | |
| ASTTypeArguments | |
| ASTTypeBound | |
| ASTTypeDeclaration | |
| ASTTypeParameter | |
| ASTTypeParameters | |
| ASTUnaryExpression | |
| ASTUnaryExpressionNotPlusMinus | |
| ASTUnparsedText | |
| ASTValueBinding | |
| ASTVariableDeclarator | |
| ASTVariableDeclaratorId | |
| ASTVariableInitializer | |
| ASTWhileStatement | |
| ASTWildcardBounds | |
| Attribute | |
| AttributeAxisIterator | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AttributesSubMenu | contains menu items for the predicate creation |
| AttributeToolkit | A toolkit for vaious attribute translations |
| AvoidCallingFinalize | |
| AvoidCatchingThrowable |
Finds catch statements
containing throwable as the type definition.
|
| AvoidDeeplyNestedIfStmtsRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AvoidDuplicateLiteralsRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| AvoidDuplicateLiteralsRule.ExceptionParser | |
| 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 |
| AvoidInstantiatingObjectsInLoops | 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 |
| Benchmark | |
| CanSuppressWarnings | |
| CharStream | This interface describes a character stream that maintains line and column number positions of the characters. |
| CharStream | This interface describes a character stream that maintains line and column number positions of the characters. |
| ClassNameDeclaration | |
| ClassNamingConventions | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ClassNode | |
| ClassScope | Class scope extends Scope in that its search method also searches all its superclasses. |
| ClassScope | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CloseResource | Makes sure you close your database connections. |
| CodeEditorTextPane | |
| CommandLineOptions | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CommonAbstractRule | Basic abstract implementation of all parser-independent methods of the Rule interface. |
| CompareObjectsWithEquals | |
| CompilationUnit | Marker interface for root nodes of the AST of compilation units in source files. |
| ConfusingTernary | if (x ! |
| ConsecutiveLiteralAppends |
This rule finds concurrent calls to StringBuffer.append where String literals
are used It would be much better to make these calls using one call to
.append
example:
StringBuffer buf = new StringBuffer();
buf.append("Hello");
buf.append(" ").append("World");
This would be more eloquently put as:
StringBuffer buf = new StringBuffer();
buf.append("Hello World");
The rule takes one parameter, threshold, which defines the lower limit of
consecutive appends before a violation is created. |
| 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. |
| CPD | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CPDListener | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CPDNullListener | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CPDTask | CPDTask Runs the CPD utility via ant. |
| CPDTask.FormatAttribute | |
| CPDTask.LanguageAttribute | |
| CPPLanguage | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CPPLanguage.CPPFileOrDirectoryFilter | |
| CPPParser | |
| CPPParserConstants | |
| CPPParserTokenManager | |
| CPPTokenizer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CSVRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CSVRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| CurrentPath | |
| CyclomaticComplexity | |
| DAAPathFinder | |
| DaaRule | |
| DataFlowFacade | |
| DataFlowNode | |
| DataPoint | |
| DataSource | Represents a source file to be analyzed. |
| Declaration | Holds the various attributes of a declaration. |
| Designer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| DFAGraphRule | |
| DFAPanel | |
| DFAPanel.DFACanvas | |
| Dimensionable | |
| DiscardableNodeCleaner | |
| DocumentNavigator | |
| DoubleCheckedLocking | void method() { if(x == null) { synchronized(this){ if(x == null) { x = new | method(); } } } 1. |
| DummyScope | Implementation of Scope for source types that are simpler than java sources. |
| DummyVisitorStarter | Implementation of VisitorStarter that does nothing. |
| DuplicateImportsRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| EmacsRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| EvaluationResultsPanel | A panel showing XPath expression evaluation results |
| ExceptionAsFlowControl | Catches the use of exception statements as a flow control device. |
| ExceptionSignatureDeclaration | |
| ExcessiveImports | ExcessiveImports attempts to count all unique imports a class contains. |
| ExcessiveLengthRule | This is a common super class for things which have excessive length. |
| ExcessiveNodeCountRule | This is a common super class for things which shouldn't have excessive nodes underneath. |
| ExcessivePublicCount | |
| ExcludeLines | |
| Executable | |
| ExternalRuleID | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| FileDataSource | DataSource implementation to read data from a file. |
| FileFinder | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| FileReporter | |
| Fix | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Formatter | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| GridBagHelper | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| GUI | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| HasLines | |
| HTMLRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| IdempotentOperations | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| IDataFlowNode | |
| IDEAJRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ImageFinderFunction | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ImmutableField | |
| ImportFromSamePackageRule | 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 |
| InefficientEmptyStringCheck | This rule finds code which inefficiently determines empty strings. |
| InefficientStringBuffering | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| InsufficientStringBufferDeclaration | This rule finds StringBuffers which may have been pre-sized incorrectly |
| Java13Handler | |
| Java13Parser | Adapter for the JavaParser, using Java 1.3 grammar. |
| Java14Handler | |
| Java14Parser | Adapter for the JavaParser, using Java 1.4 grammar. |
| Java15Handler | |
| Java15Parser | Adapter for the JavaParser, using Java 1.5 grammar. |
| JavaCharStream | An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (with java-like unicode escape processing). |
| JavaLanguage | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| JavaNode | |
| JavaParser | |
| JavaParserConstants | |
| JavaParserTokenManager | |
| JavaParserTreeConstants | |
| JavaParserVisitor | |
| JavaParserVisitorAdapter | |
| JavaTokenizer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| JavaTypeHandler | Implementation of VisitorsFactory for the Java AST. |
| JspCharStream | |
| JspParser | JSP Parser for PMD. |
| JspParser | |
| JspParserConstants | JSP Parser for PMD. |
| JspParserTokenManager | JSP Parser for PMD. |
| JspParserTreeConstants | |
| JspParserVisitor | |
| JspParserVisitorAdapter | |
| JspScopeAndDeclarationFinder | Setting the scope in the root of a JSP AST. |
| JspSymbolFacade | Symbol Facade for JSP. |
| JspTypeHandler | Implementation of SourceTypeHandler for the JSP parser. |
| JSmartPanel | |
| JUnitAssertionsShouldIncludeMessage | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| JUnitTestsShouldContainAsserts | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Language | Enumeration of languages for which a rule can be written. |
| Language | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| LanguageFactory | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Linker | |
| LinkerException | |
| LocalScope | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| LocalVariableCouldBeFinal | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| LongClassRule | This rule detects when a class exceeds a certain threshold. i.e. if a class has more than 1000 lines of code. |
| LongMethodRule | This rule detects when a method exceeds a certain threshold. i.e. if a method has more than x lines of code. |
| LongParameterListRule | This rule detects an abnormally long parameter list. |
| LooseCoupling | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MainFrame | viewer's main frame |
| Match | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MatchAlgorithm | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MatchCollector | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MatchesFunction | |
| MatchLengthComparator | |
| Match.MatchCode | |
| MethodArgumentCouldBeFinal | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MethodNameDeclaration | 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 |
| MethodReturnsInternalArray | Implementation note: this rule currently ignores return types of y.x.z, currently it handles only local type fields. |
| MethodScope | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| MethodWithSameNameAsEnclosingClass | |
| Metric | |
| MyPrintStream | |
| NameDeclaration | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| NameFinder | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| NameOccurrence | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| NLS | helps with internationalization |
| Node | |
| Node | |
| NodeIterator | |
| NodeType | |
| NoInlineStyleInformation | This rule checks that no "style" elements (like , , ...) are used, and that no "style" attributes (like "font", "size", "align") are used. |
| NullAssignmentRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| OccurrenceFinder | |
| OnlyOneReturnRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| PackageNode | |
| PapariTextRenderer |
A console renderer with optional color support under *nix systems.
* file: ./src/gilot/Test.java
src: Test.java:12
rule: AtLeastOneConstructor
msg: Each class should declare at least one constructor
code: public class Test
* file: ./src/gilot/log/format/LogInterpreter.java
src: LogInterpreter.java:317
rule: AvoidDuplicateLiterals
msg: The same String literal appears 4 times in this file; the first occurrence is on line 317
code: logger.error( "missing attribute 'app_arg' in rule '" + ((Element)element.getParent()).getAttributeValue( "name" ) + "'" );
src: LogInterpreter.java:317
rule: AvoidDuplicateLiterals
msg: The same String literal appears 5 times in this file; the first occurrence is on line 317
code: logger.error( "missing attribute 'app_arg' in rule '" + ((Element)element.getParent()).getAttributeValue( "name" ) + "'" );
* warnings: 3
Colorization is turned on by supplying -Dpmd.color - any value other than '0' or 'false', enables color - including an empty value (''). |
| ParseException | This exception is thrown when parse errors are encountered. |
| ParseException | This exception is thrown when parse errors are encountered. |
| ParseException | This exception is thrown when parse errors are encountered. |
| ParseExceptionHandler | handles parsing exceptions |
| Parser | Common interface for calling tree-building parsers or source files. |
| PathElement | |
| PHPLanguage | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| PHPLanguage.PHPFileOrDirectoryFilter | |
| PHPTokenizer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| PMD | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| PMDException | A convenience exception wrapper. |
| PMDTask | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| PositionalIteratorRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Renderer | |
| Renderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Report | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ReportException | |
| ReportHTMLPrintVisitor | |
| ReportListener | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| ReportTree | |
| ReportVisitor | |
| Report.ProcessingError | |
| Report.ReadableDuration | |
| Report.SuppressedViolation | |
| ResourceLoader | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RubyLanguage | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RubyLanguage.RubyFileOrDirectoryFilter | |
| RubyTokenizer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Rule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RuleContext | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RuleSet | This class represents a collectin of rules. |
| RuleSetFactory | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RuleSetNotFoundException | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RuleSets | Grouping of Rules per Language in a RuleSet. |
| RuleSetWrapper | |
| RuleViolation | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| RuleViolation.RuleViolationComparator | |
| Scope | |
| Scope | Provides methods which all scopes must implement See JLS 6.3 for a description of scopes |
| ScopeAndDeclarationFinder | Visitor for scope creation. |
| Search | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SequenceChecker | |
| SequenceException | |
| SimpleCharStream | An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing). |
| SimpleJavaNode | |
| SimpleNode | |
| SimpleNode | |
| SimpleNodeSubMenu | submenu for the simple node itself |
| SimpleNodeTreeNodeAdapter | provides the adapter for the tree model |
| SimpleRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SimpleRuleSetNameMapper | |
| SimplifyBooleanReturns | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SingularField | |
| SourceCode | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SourceCodePanel | source code panel |
| SourceCode.CodeLoader | |
| SourceCode.FileCodeLoader | |
| SourceCode.StringCodeLoader | |
| SourceFileConstants | Constants used when handling names of source files. |
| SourceFileOrDirectoryFilter | Filtering of directories en wanted source files. |
| SourceFileScope | |
| SourceFileSelector | Filtering of wanted source files. |
| SourceType | Enumeration of the types of source code. |
| SourceTypeDiscoverer | This class can give the SourceType of a source file. |
| SourceTypeHandler | Interface for obtaining the classes necessary for checking source files of a specific language. |
| SourceTypeHandlerBroker | Broker for SourceTypeHandler instances for specific SourceTypes. |
| SourceTypeToRuleLanguageMapper | Mapping of SourceType to RuleLanguage. |
| StackObject | |
| StartAndEndTagMismatchException | |
| StartOrEndDataFlowNode | |
| StatementAndBraceFinder | |
| StatisticalRule | |
| StringConcatenationRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| StringInstantiation | |
| StringToStringRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| StringUtil | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Structure | |
| SummaryHTMLRenderer | |
| SuspiciousOctalEscape | |
| SwitchDensityRule | |
| SymbolFacade | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SymbolTableTestRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| SymbolTableViewer | |
| SymtabManager | Manages the symbol table and scopes within a given compilation unit. |
| SyntaxErrorException | |
| TargetJDK1_3 | This is an implementation of TargetJDKVersion for JDK 1.3. |
| TargetJDK1_4 | This is an implementation of TargetJDKVersion for JDK 1.4. |
| TargetJDK1_5 | This is an implementation of TargetJDKVersion for JDK 1.5. |
| TargetJDKVersion | Interface to create JDK-appropriate parsers. |
| TestClassWithoutTestCases | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| TextPadRenderer |
A Renderer for running PMD via a TextPad 'tool'. |
| TextRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Token | Describes the input token stream. |
| Token | Describes the input token stream. |
| Token | Describes the input token stream. |
| TokenEntry | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Tokenizer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| TokenMgrError | |
| TokenMgrError | |
| TokenMgrError | JSP Parser for PMD. |
| Tokens | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| Token.GTToken | |
| TooManyFields | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| TypeSet | Keeps track of the types encountered in a ASTCompilationUnit |
| TypeSet.CurrentPackageResolver | |
| TypeSet.ExplicitImportResolver | |
| TypeSet.FullyQualifiedNameResolver | |
| TypeSet.ImplicitImportResolver | |
| TypeSet.ImportOnDemandResolver | |
| TypeSet.PrimitiveTypeResolver | |
| TypeSet.Resolver | TODO should Resolver provide a canResolve() and a resolve()? |
| TypeSet.VoidResolver | |
| UnaryFunction | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnnecessaryCaseChange | |
| UnnecessaryConversionTemporary | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnnecessaryLocalBeforeReturn | |
| UnsynchronizedStaticDateFormatter | Using a DateFormatter (SimpleDateFormatter) which is static can cause unexpected results when used in a multi threaded environment. |
| UnusedFormalParameterRule | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UnusedImportsRule | 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 |
| UseIndexOfChar | |
| UselessAssignment | |
| UselessOverridingMethod | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UseSingleton | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| UseStringBufferLength |
This rule finds places where StringBuffer.toString() is called just to see if
the string is 0 length by either using .equals("") or toString().size()
StringBuffer sb = new StringBuffer("some string");
if (sb.toString().equals("")) {
// this is wrong
}
if (sb.length() == 0) {
// this is right
}
|
| VariableAccess | |
| VariableAccessException | |
| VariableAccessVisitor | |
| VariableNameDeclaration | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| VariableNamingConventions | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| VariableUsageFinderFunction | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| VBHTMLRenderer | |
| Viewer | viewer's starter |
| ViewerModel | |
| ViewerModelEvent | The event which will be sent every time the model changes Note: the instances will be immutable |
| ViewerModelListener | identiefie a listener of the ViewerModel |
| ViolationNode | |
| VisitorStarter | Interface for starting an implementation of the parser visitors for the grammars. |
| XMLRenderer | |
| XMLRenderer | BSD-style license; for more info see http://pmd.sourceforge.net/license.html |
| XPathFragmentAddingItem | adds the given path fragment to the XPath expression upon action |
| XPathPanel | Panel for the XPath entry and editing |
| XPathRule | Rule that tries to match an XPath expression against a DOM view of the AST of a "compilation unit". |
| YAHTMLRenderer | |
| ZipDataSource | DataSource implementation to read data from an entry in a zip or jar file. |