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 147149
CollapsibleIfStatements This if statement could be combined with its parent 165172
CollapsibleIfStatements This if statement could be combined with its parent 195201
CollapsibleIfStatements This if statement could be combined with its parent 213223

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 147149
CollapsibleIfStatements This if statement could be combined with its parent 3 165172
CollapsibleIfStatements This if statement could be combined with its parent 3 195201
CollapsibleIfStatements This if statement could be combined with its parent 3 213223

org/apache/rat/anttasks/Help.java

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