PMD Results
The following document contains the results of PMD 7.7.0.
Violations By Priority
Priority 3
org/eclipse/aether/util/graph/transformer/ClassicConflictResolver.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 710 |
org/eclipse/aether/util/graph/transformer/ConfigurableVersionSelector.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 152–158 |
CollapsibleIfStatements | This if statement could be combined with its parent | 153–157 |
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/transformer/PathConflictResolver.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 421–423 |
UnusedPrivateMethod | Avoid unused private methods such as 'dump(String)'. | 590 |
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/graph/manager/MMap.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MMap': 'EMPTY_MAP' is already in scope because it is declared in an enclosing type | 48 |
org/eclipse/aether/util/graph/transformer/ClassicConflictResolver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 177 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 185 |
UselessParentheses | Useless parentheses. | 198 |
UselessParentheses | Useless parentheses. | 237 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 282 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 284 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 287 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 521 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 582 |
org/eclipse/aether/util/graph/transformer/PathConflictResolver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 157 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 460 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 463 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 506 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 508 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 511 |
org/eclipse/aether/util/version/GenericVersionScheme.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 174 |
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/MMap.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MMap': 'EMPTY_MAP' is already in scope because it is declared in an enclosing type | 4 | 48 |
org/eclipse/aether/util/graph/transformer/ClassicConflictResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 177 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 185 |
UselessParentheses | Useless parentheses. | 4 | 198 |
UselessParentheses | Useless parentheses. | 4 | 237 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 4 | 282 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 284 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 287 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 4 | 521 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 4 | 582 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 710 |
org/eclipse/aether/util/graph/transformer/ConfigurableVersionSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 152–158 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 153–157 |
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/transformer/PathConflictResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 4 | 157 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 421–423 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 460 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 463 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 4 | 506 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 508 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 511 |
UnusedPrivateMethod | Avoid unused private methods such as 'dump(String)'. | 3 | 590 |
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 | 174 |