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'. 76

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

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

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' 263
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' 273

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. 46
UselessParentheses Useless parentheses. 47
UselessParentheses Useless parentheses. 48
UselessParentheses Useless parentheses. 49
UselessParentheses Useless parentheses. 80
UselessParentheses Useless parentheses. 98

Files

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

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

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 263
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.api.model.Dependency' due to existing import 'org.apache.maven.api.model.Dependency' 4 273

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 47

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 46
UselessParentheses Useless parentheses. 4 47
UselessParentheses Useless parentheses. 4 48
UselessParentheses Useless parentheses. 4 49
UselessParentheses Useless parentheses. 4 80
UselessParentheses Useless parentheses. 4 98