PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

org/apache/rat/anttasks/BaseAntTask.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 148150
CollapsibleIfStatements This if statement could be combined with its parent 166173
CollapsibleIfStatements This if statement could be combined with its parent 196206
CollapsibleIfStatements This if statement could be combined with its parent 218228
org/apache/rat/anttasks/Help.java
Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'lpad'. 171

Priority 4

org/apache/rat/anttasks/Help.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractHelp': 'header' is already in scope 89

Files

org/apache/rat/anttasks/BaseAntTask.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 148150
CollapsibleIfStatements This if statement could be combined with its parent 3 166173
CollapsibleIfStatements This if statement could be combined with its parent 3 196206
CollapsibleIfStatements This if statement could be combined with its parent 3 218228

org/apache/rat/anttasks/Help.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractHelp': 'header' is already in scope 4 89
UnusedLocalVariable Avoid unused local variables such as 'lpad'. 3 171