PMD Results
The following document contains the results of PMD 6.55.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 | 165–167 |
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 && | 761 |
org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 62–68 |
CollapsibleIfStatements | These nested if statements could be combined | 63–67 |
org/eclipse/aether/util/repository/DefaultMirrorSelector.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 190 |
org/eclipse/aether/util/version/GenericVersionRange.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 101–105 |
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. | 725 |
UselessParentheses | Useless parentheses. | 730 |
UselessParentheses | Useless parentheses. | 743 |
UselessParentheses | Useless parentheses. | 754 |
UselessParentheses | Useless parentheses. | 757 |
UselessParentheses | Useless parentheses. | 761 |
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 |
---|---|---|---|
BrokenNullCheck | Method call on object which may be null | 2 | 165–167 |
UselessParentheses | Useless parentheses. | 4 | 165 |
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 |
---|---|---|---|
UnusedNullCheckInEquals | Invoke equals() on the object you've already ensured is not null | 3 | 175 |
UselessParentheses | Useless parentheses. | 4 | 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 | 725 |
UselessParentheses | Useless parentheses. | 4 | 730 |
UselessParentheses | Useless parentheses. | 4 | 743 |
UselessParentheses | Useless parentheses. | 4 | 754 |
UselessParentheses | Useless parentheses. | 4 | 757 |
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 761 |
UselessParentheses | Useless parentheses. | 4 | 761 |
org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 62–68 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 63–67 |
org/eclipse/aether/util/repository/DefaultMirrorSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address | 3 | 190 |
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 | 101–105 |
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 |