PMD Results
The following document contains the results of PMD 7.17.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 | 148–150 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 166–173 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 196–202 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 214–224 |
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 | 148–150 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 166–173 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 196–202 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 214–224 |
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 |
Apache RAT
Maven