PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/maven/plugin/assembly/archive/ManifestCreationFinalizer.java

Violation Line
Avoid empty catch blocks 137139
Avoid empty catch blocks 140142

org/apache/maven/plugin/assembly/archive/archiver/AssemblyProxyArchiver.java

Violation Line
These nested if statements could be combined 877896

org/apache/maven/plugin/assembly/archive/phase/DependencySetAssemblyPhase.java

Violation Line
Avoid unused private fields such as 'archiverManager'. 59

org/apache/maven/plugin/assembly/archive/phase/FileItemAssemblyPhase.java

Violation Line
Avoid unused imports such as 'org.apache.maven.shared.utils.StringUtils' 32

org/apache/maven/plugin/assembly/archive/phase/ModuleSetAssemblyPhase.java

Violation Line
Avoid unused private fields such as 'archiverManager'. 93

org/apache/maven/plugin/assembly/archive/phase/PhaseOrder.java

Violation Line
Avoid modifiers which are implied by the context 28

org/apache/maven/plugin/assembly/artifact/DependencyResolver.java

Violation Line
Avoid modifiers which are implied by the context 4144
Avoid modifiers which are implied by the context 4649

org/apache/maven/plugin/assembly/artifact/ResolutionManagementInfo.java

Violation Line
These nested if statements could be combined 142147

org/apache/maven/plugin/assembly/functions/MavenProjectConsumer.java

Violation Line
Avoid modifiers which are implied by the context 25

org/apache/maven/plugin/assembly/interpolation/AssemblyInterpolator.java

Violation Line
Avoid unused private fields such as 'ENVIRONMENT_VARIABLES'. 55

org/apache/maven/plugin/assembly/mojos/AbstractAssemblyMojo.java

Violation Line
Avoid unused private fields such as 'classifier'. 162
Avoid unused local variables such as 'rootInterpolator'. 461
Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' 1013

org/apache/maven/plugin/assembly/utils/AssemblyFileUtils.java

Violation Line
These nested if statements could be combined 6467

org/apache/maven/plugin/assembly/utils/AssemblyFormatUtils.java

Violation Line
Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource' 260

org/apache/maven/plugin/assembly/utils/WindowsLineFeedInputStream.java

Violation Line
These nested if statements could be combined 8791