PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 45

Priority 4

org/apache/maven/repository/internal/DefaultModelResolver.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.api.model.Parent' due to existing import 'org.apache.maven.api.model.Parent' 262
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' 272
org/apache/maven/repository/internal/DefaultVersionResolver.java
Rule Violation Line
UselessParentheses Useless parentheses. 347349
org/apache/maven/repository/internal/RelocatedArtifact.java
Rule Violation Line
UselessParentheses Useless parentheses. 55
UselessParentheses Useless parentheses. 56
UselessParentheses Useless parentheses. 57
UselessParentheses Useless parentheses. 58
UselessParentheses Useless parentheses. 59
UselessParentheses Useless parentheses. 60
UselessParentheses Useless parentheses. 112
UselessParentheses Useless parentheses. 131

Files

org/apache/maven/repository/internal/DefaultModelResolver.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.api.model.Parent' due to existing import 'org.apache.maven.api.model.Parent' 4 262
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' 4 272

org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 347349

org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 3 45

org/apache/maven/repository/internal/RelocatedArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 55
UselessParentheses Useless parentheses. 4 56
UselessParentheses Useless parentheses. 4 57
UselessParentheses Useless parentheses. 4 58
UselessParentheses Useless parentheses. 4 59
UselessParentheses Useless parentheses. 4 60
UselessParentheses Useless parentheses. 4 112
UselessParentheses Useless parentheses. 4 131