PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 3

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

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'LOGGER'. 74

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

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 46

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. 345347

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

Rule Violation Line
UselessParentheses Useless parentheses. 45
UselessParentheses Useless parentheses. 46
UselessParentheses Useless parentheses. 47
UselessParentheses Useless parentheses. 48
UselessParentheses Useless parentheses. 79
UselessParentheses Useless parentheses. 97

Files

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

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'LOGGER'. 3 74

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 345347

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

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

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 45
UselessParentheses Useless parentheses. 4 46
UselessParentheses Useless parentheses. 4 47
UselessParentheses Useless parentheses. 4 48
UselessParentheses Useless parentheses. 4 79
UselessParentheses Useless parentheses. 4 97