PMD Results

The following document contains the results of PMD 5.3.5.

Files

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

Violation Line
Useless parentheses. 110
Useless parentheses. 110

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

Violation Line
Useless parentheses. 103
Useless parentheses. 126
Useless parentheses. 169
These nested if statements could be combined 786805

org/apache/maven/plugins/assembly/archive/archiver/PrefixedFileSet.java

Violation Line
Useless parentheses. 66
Useless parentheses. 66
Useless parentheses. 75
Useless parentheses. 75

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

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

org/apache/maven/plugins/assembly/archive/phase/FileSetAssemblyPhase.java

Violation Line
Useless parentheses. 56

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

Violation Line
Avoid unused private fields such as 'archiverManager'. 91
Useless parentheses. 120
Useless parentheses. 207
Useless parentheses. 207
Useless parentheses. 434
Useless parentheses. 476
Useless parentheses. 480
Useless parentheses. 520

org/apache/maven/plugins/assembly/archive/task/AddArtifactTask.java

Violation Line
Useless parentheses. 190
Useless parentheses. 267
Useless parentheses. 267
Useless parentheses. 267

org/apache/maven/plugins/assembly/archive/task/AddDependencySetsTask.java

Violation Line
Useless parentheses. 106
Useless parentheses. 113
Useless parentheses. 198
Useless parentheses. 295
Useless parentheses. 295

org/apache/maven/plugins/assembly/artifact/DefaultDependencyResolver.java

Violation Line
Useless parentheses. 382

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

Violation Line
These nested if statements could be combined 117122

org/apache/maven/plugins/assembly/filter/ComponentsXmlArchiverFileFilter.java

Violation Line
Useless parentheses. 167

org/apache/maven/plugins/assembly/format/ReaderFormatter.java

Violation Line
Useless parentheses. 99

org/apache/maven/plugins/assembly/functions/MavenProjects.java

Violation Line
Useless parentheses. 78

org/apache/maven/plugins/assembly/io/DefaultAssemblyReader.java

Violation Line
Useless parentheses. 110
Useless parentheses. 110
Useless parentheses. 120
Useless parentheses. 120
Useless parentheses. 129

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

Violation Line
Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' 408
Useless parentheses. 509

org/apache/maven/plugins/assembly/repository/DefaultRepositoryAssembler.java

Violation Line
Avoid empty if statements 130132
Useless parentheses. 162
Useless parentheses. 195
These nested if statements could be combined 266269

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

Violation Line
These nested if statements could be combined 6467

org/apache/maven/plugins/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' 253
Useless parentheses. 462
Useless parentheses. 467
Useless parentheses. 513
Useless parentheses. 518

org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java

Violation Line
Useless parentheses. 59
Useless parentheses. 102
Useless parentheses. 102
Useless parentheses. 108
Useless parentheses. 108
Useless parentheses. 114
Useless parentheses. 114
Useless parentheses. 122
Useless parentheses. 122
Useless parentheses. 128
Useless parentheses. 128
Useless parentheses. 134
Useless parentheses. 134
Useless parentheses. 142
Useless parentheses. 142
Useless parentheses. 148
Useless parentheses. 148
Useless parentheses. 154
Useless parentheses. 154

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

Violation Line
These nested if statements could be combined 8791