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 | 109–115 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 110–114 |
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 | 65–71 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 66–70 |
org/eclipse/aether/util/graph/visitor/DependencyGraphDumper.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 61–67 |
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 | 106–110 |
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 | 109–115 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 110–114 |
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 | 65–71 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 66–70 |
org/eclipse/aether/util/graph/visitor/DependencyGraphDumper.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 61–67 |
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 | 106–110 |
org/eclipse/aether/util/version/GenericVersionScheme.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses. | 4 | 78 |


