Fork me on GitHub

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 147–149
CollapsibleIfStatements This if statement could be combined with its parent 165–172
CollapsibleIfStatements This if statement could be combined with its parent 195–201
CollapsibleIfStatements This if statement could be combined with its parent 213–223

Priority 4

org/apache/rat/anttasks/BaseAntTask.java

Rule Violation Line
UnnecessaryImport Unused import 'java.util.stream.Collectors' 42

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
UnnecessaryImport Unused import 'java.util.stream.Collectors' 4 42
CollapsibleIfStatements This if statement could be combined with its parent 3 147–149
CollapsibleIfStatements This if statement could be combined with its parent 3 165–172
CollapsibleIfStatements This if statement could be combined with its parent 3 195–201
CollapsibleIfStatements This if statement could be combined with its parent 3 213–223

org/apache/rat/anttasks/Help.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'AbstractHelp': 'header' is already in scope 4 89