PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/eclipse/aether/util/graph/transformer/ConfigurableVersionSelector.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 109115
CollapsibleIfStatements This if statement could be combined with its parent 110114
org/eclipse/aether/util/graph/transformer/ConflictResolver.java
Rule Violation Line
SimplifiedTernary This conditional expression can be simplified with || or && 772
org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 6571
CollapsibleIfStatements This if statement could be combined with its parent 6670
org/eclipse/aether/util/graph/visitor/DependencyGraphDumper.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 6167
org/eclipse/aether/util/repository/DefaultMirrorSelector.java
Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 190
org/eclipse/aether/util/version/GenericVersionRange.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 106110

Priority 4

org/eclipse/aether/util/filter/AbstractPatternDependencyFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 118
UselessParentheses Useless parentheses. 138
org/eclipse/aether/util/filter/ExclusionsDependencyFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 68
org/eclipse/aether/util/version/GenericVersionScheme.java
Rule Violation Line
UselessParentheses Useless parentheses. 78

Files

org/eclipse/aether/util/filter/AbstractPatternDependencyFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 118
UselessParentheses Useless parentheses. 4 138

org/eclipse/aether/util/filter/ExclusionsDependencyFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 68

org/eclipse/aether/util/graph/transformer/ConfigurableVersionSelector.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 109115
CollapsibleIfStatements This if statement could be combined with its parent 3 110114

org/eclipse/aether/util/graph/transformer/ConflictResolver.java

Rule Violation Priority Line
SimplifiedTernary This conditional expression can be simplified with || or && 3 772

org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 6571
CollapsibleIfStatements This if statement could be combined with its parent 3 6670

org/eclipse/aether/util/graph/visitor/DependencyGraphDumper.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 6167

org/eclipse/aether/util/repository/DefaultMirrorSelector.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 3 190

org/eclipse/aether/util/version/GenericVersionRange.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 106110

org/eclipse/aether/util/version/GenericVersionScheme.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 78