PMD Results

The following document contains the results of PMD 5.6.1.

Files

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

Violation Line
Method call on object which may be null 185188
Useless parentheses. 185

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

Violation Line
Useless parentheses. 51

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

Violation Line
Useless parentheses. 128
Useless parentheses. 152

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

Violation Line
Useless parentheses. 202
Useless parentheses. 203

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

Violation Line
Invoke equals() on the object you've already ensured is not null 197
Useless parentheses. 197
Useless parentheses. 198

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

Violation Line
Useless parentheses. 195
Useless parentheses. 196

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

Violation Line
Useless parentheses. 160

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

Violation Line
Useless parentheses. 689
Useless parentheses. 696
Useless parentheses. 712
Useless parentheses. 725
Useless parentheses. 727
Useless parentheses. 732
Ternary operators that can be simplified with || or && 732

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

Violation Line
These nested if statements could be combined 6975
These nested if statements could be combined 7174

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

Violation Line
These nested if statements could be combined 8285

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

Violation Line
Do not hard code the IP address 215

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

Violation Line
Useless parentheses. 171

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

Violation Line
Useless parentheses. 94
Useless parentheses. 94

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

Violation Line
Useless parentheses. 164
Useless parentheses. 218
Useless parentheses. 261
Useless parentheses. 448

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

Violation Line
These nested if statements could be combined 123127

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

Violation Line
Useless parentheses. 92

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

Violation Line
Useless parentheses. 89
Useless parentheses. 110