PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

org/eclipse/aether/util/graph/manager/DefaultDependencyManager.java

Rule Violation Line
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 175

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

Rule Violation Line
SimplifiedTernary This conditional expression can be simplified with || or && 767

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

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 6268
CollapsibleIfStatements This if statement could be combined with its parent 6367

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

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 7476

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

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address ${variableName} 196

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

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 101105

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/graph/manager/ClassicDependencyManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 179

org/eclipse/aether/util/graph/manager/TransitiveDependencyManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 175

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

Rule Violation Line
UselessParentheses Useless parentheses. 155

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/manager/ClassicDependencyManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 179

org/eclipse/aether/util/graph/manager/DefaultDependencyManager.java

Rule Violation Priority Line
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 3 175

org/eclipse/aether/util/graph/manager/TransitiveDependencyManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 175

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

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

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

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

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

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

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

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

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

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

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 155