PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

Violation Line
Avoid empty if statements 112 - 114

org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

Violation Line
Avoid empty if statements 96 - 98

org/apache/maven/artifact/repository/DefaultArtifactRepository.java

Violation Line
Avoid unused constructor parameters such as 'uniqueVersion'. 77 - 81

org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

Violation Line
Avoid using java.lang.ThreadGroup; it is not thread safe 565

org/apache/maven/artifact/resolver/WarningResolutionListener.java

Violation Line
Avoid unused private fields such as 'logger'. 34

org/apache/maven/profiles/DefaultProfileManager.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 36

org/apache/maven/profiles/ProfilesConversionUtils.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 28
Avoid using java.lang.ThreadGroup; it is not thread safe 73
Avoid using java.lang.ThreadGroup; it is not thread safe 145

org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

Violation Line
These nested if statements could be combined 209 - 212
These nested if statements could be combined 599 - 616
These nested if statements could be combined 621 - 625
These nested if statements could be combined 630 - 635
Avoid empty if statements 713 - 715
Avoid empty if statements 719 - 723

org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

Violation Line
Avoid unused constructor parameters such as 'envars'. 50 - 52

org/apache/maven/project/path/DefaultPathTranslator.java

Violation Line
These nested if statements could be combined 169 - 172

org/apache/maven/repository/DefaultMirrorSelector.java

Violation Line
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! 135

org/apache/maven/repository/MetadataResolutionResult.java

Violation Line
Avoid unused private fields such as 'dirtyTree'. 66
Avoid unused private fields such as 'resolvedGraph'. 70

org/apache/maven/repository/legacy/DefaultWagonManager.java

Violation Line
Avoid unused method parameters such as 'protocol'. 730 - 741

org/apache/maven/repository/legacy/LegacyRepositorySystem.java

Violation Line
Avoid using java.lang.ThreadGroup; it is not thread safe 632

org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

Violation Line
These nested if statements could be combined 179 - 187

org/apache/maven/repository/metadata/ArtifactMetadata.java

Violation Line
Avoid unused constructor parameters such as 'af'. 151 - 159

org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

Violation Line
Avoid unused local variables such as 'md'. 73

org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

Violation Line
Avoid empty if statements 110 - 116
Avoid unused method parameters such as 'v'. 207 - 246

org/apache/maven/repository/metadata/MetadataGraph.java

Violation Line
Avoid unused method parameters such as 'nVertices'. 243 - 249

org/apache/maven/repository/metadata/MetadataGraphEdge.java

Violation Line
Ensure you override both equals() and hashCode() 84

org/apache/maven/usability/plugin/ExpressionDocumenter.java

Violation Line
Avoid unused imports such as 'java.util.Iterator' 36