PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 2

org/eclipse/aether/util/artifact/SubArtifact.java

Rule Violation Line
BrokenNullCheck Method call on object which may be null 165167

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 Ternary operators that can be simplified with || or && 650

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 6268
CollapsibleIfStatements These nested if statements could be combined 6367

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 7476

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

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 196

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 101105

Priority 4

org/eclipse/aether/util/artifact/SubArtifact.java

Rule Violation Line
UselessParentheses Useless parentheses. 165

org/eclipse/aether/util/concurrency/WorkerThreadFactory.java

Rule Violation Line
UselessParentheses Useless parentheses. 47

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

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

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

Rule Violation Line
UselessParentheses Useless parentheses. 179
UselessParentheses Useless parentheses. 180

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

Rule Violation Line
UselessParentheses Useless parentheses. 175
UselessParentheses Useless parentheses. 176

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

Rule Violation Line
UselessParentheses Useless parentheses. 175
UselessParentheses Useless parentheses. 176

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

Rule Violation Line
UselessParentheses Useless parentheses. 150

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

Rule Violation Line
UselessParentheses Useless parentheses. 614
UselessParentheses Useless parentheses. 619
UselessParentheses Useless parentheses. 632
UselessParentheses Useless parentheses. 643
UselessParentheses Useless parentheses. 646
UselessParentheses Useless parentheses. 650

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

Rule Violation Line
UselessParentheses Useless parentheses. 148

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

Rule Violation Line
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 81

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

Rule Violation Line
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 209
UselessParentheses Useless parentheses. 243
UselessParentheses Useless parentheses. 391

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

Rule Violation Line
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 155

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

Rule Violation Line
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 97

Files

org/eclipse/aether/util/artifact/SubArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 165
BrokenNullCheck Method call on object which may be null 2 165167

org/eclipse/aether/util/concurrency/WorkerThreadFactory.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 47

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 179
UselessParentheses Useless parentheses. 4 180

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 175
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 3 175
UselessParentheses Useless parentheses. 4 176

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 175
UselessParentheses Useless parentheses. 4 176

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 150

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 614
UselessParentheses Useless parentheses. 4 619
UselessParentheses Useless parentheses. 4 632
UselessParentheses Useless parentheses. 4 643
UselessParentheses Useless parentheses. 4 646
SimplifiedTernary Ternary operators that can be simplified with || or && 3 650
UselessParentheses Useless parentheses. 4 650

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 6268
CollapsibleIfStatements These nested if statements could be combined 3 6367

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 7476

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

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 196

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 148

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 81

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 209
UselessParentheses Useless parentheses. 4 243
UselessParentheses Useless parentheses. 4 391

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 101105

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 155

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 97