PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/maven/resolver/internal/ant/AntRepoSys.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'session'. 766
org/apache/maven/resolver/internal/ant/AntRepositoryListener.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 97
UnnecessarySemicolon Unnecessary semicolon 105
org/apache/maven/resolver/internal/ant/types/Pom.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 242244

Priority 4

org/apache/maven/resolver/internal/ant/AntModelResolver.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RemoteRepository' due to existing import 'org.eclipse.aether.repository.RemoteRepository' 56
org/apache/maven/resolver/internal/ant/AntRepoSys.java
Rule Violation Line
UselessParentheses Useless parentheses. 755
org/apache/maven/resolver/internal/ant/tasks/Resolve.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' 164

Files

org/apache/maven/resolver/internal/ant/AntModelResolver.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.repository.RemoteRepository' due to existing import 'org.eclipse.aether.repository.RemoteRepository' 4 56

org/apache/maven/resolver/internal/ant/AntRepoSys.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 755
UnusedFormalParameter Avoid unused method parameters such as 'session'. 3 766

org/apache/maven/resolver/internal/ant/AntRepositoryListener.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 97
UnnecessarySemicolon Unnecessary semicolon 3 105

org/apache/maven/resolver/internal/ant/tasks/Resolve.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.graph.DependencyNode' due to existing import 'org.eclipse.aether.graph.DependencyNode' 4 164

org/apache/maven/resolver/internal/ant/types/Pom.java

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