PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/assembly/archive/archiver/AssemblyProxyArchiver.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 648661
org/apache/maven/plugins/assembly/artifact/ResolutionManagementInfo.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 4953
org/apache/maven/plugins/assembly/utils/AssemblyFileUtils.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 5052
org/apache/maven/plugins/assembly/utils/WindowsLineFeedInputStream.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 7174

Priority 4

org/apache/maven/plugins/assembly/archive/ManifestCreationFinalizer.java
Rule Violation Line
UselessParentheses Useless parentheses. 87
UselessParentheses Useless parentheses. 87
org/apache/maven/plugins/assembly/archive/archiver/AssemblyProxyArchiver.java
Rule Violation Line
UselessParentheses Useless parentheses. 101
UselessParentheses Useless parentheses. 117
org/apache/maven/plugins/assembly/archive/archiver/PrefixedFileSet.java
Rule Violation Line
UselessParentheses Useless parentheses. 60
UselessParentheses Useless parentheses. 60
UselessParentheses Useless parentheses. 67
UselessParentheses Useless parentheses. 67
org/apache/maven/plugins/assembly/archive/phase/FileSetAssemblyPhase.java
Rule Violation Line
UselessParentheses Useless parentheses. 52
org/apache/maven/plugins/assembly/archive/phase/ModuleSetAssemblyPhase.java
Rule Violation Line
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 176
UselessParentheses Useless parentheses. 176
UselessParentheses Useless parentheses. 383
UselessParentheses Useless parentheses. 418
UselessParentheses Useless parentheses. 420
UselessParentheses Useless parentheses. 455
org/apache/maven/plugins/assembly/archive/task/AddArtifactTask.java
Rule Violation Line
UselessParentheses Useless parentheses. 168
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 231
UselessParentheses Useless parentheses. 231
org/apache/maven/plugins/assembly/archive/task/AddDependencySetsTask.java
Rule Violation Line
UselessParentheses Useless parentheses. 104
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 181
UselessParentheses Useless parentheses. 271
UselessParentheses Useless parentheses. 271
org/apache/maven/plugins/assembly/filter/ComponentsXmlArchiverFileFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 137
org/apache/maven/plugins/assembly/format/ReaderFormatter.java
Rule Violation Line
UselessParentheses Useless parentheses. 91
org/apache/maven/plugins/assembly/functions/MavenProjects.java
Rule Violation Line
UselessParentheses Useless parentheses. 65
org/apache/maven/plugins/assembly/io/DefaultAssemblyReader.java
Rule Violation Line
UselessParentheses Useless parentheses. 101
UselessParentheses Useless parentheses. 101
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 116
org/apache/maven/plugins/assembly/io/DefaultMessageHolder.java
Rule Violation Line
UselessParentheses Useless parentheses. 490
UselessParentheses Useless parentheses. 494
UselessParentheses Useless parentheses. 498
UselessParentheses Useless parentheses. 502
org/apache/maven/plugins/assembly/io/FileLocation.java
Rule Violation Line
UselessParentheses Useless parentheses. 57
org/apache/maven/plugins/assembly/io/MessageLevels.java
Rule Violation Line
UselessParentheses Useless parentheses. 81
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 85
UselessParentheses Useless parentheses. 87
UselessParentheses Useless parentheses. 89
org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' 437
UselessParentheses Useless parentheses. 518
org/apache/maven/plugins/assembly/utils/AssemblyFormatUtils.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource' 212
UselessParentheses Useless parentheses. 405
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 444
UselessParentheses Useless parentheses. 448
org/apache/maven/plugins/assembly/utils/TypeConversionUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 54
UselessParentheses Useless parentheses. 88
UselessParentheses Useless parentheses. 88
UselessParentheses Useless parentheses. 93
UselessParentheses Useless parentheses. 93
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 105
UselessParentheses Useless parentheses. 105
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 115
UselessParentheses Useless parentheses. 115
UselessParentheses Useless parentheses. 122
UselessParentheses Useless parentheses. 122
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 132
UselessParentheses Useless parentheses. 132

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 87
UselessParentheses Useless parentheses. 4 87

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 101
UselessParentheses Useless parentheses. 4 117
CollapsibleIfStatements These nested if statements could be combined 3 648661

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 60
UselessParentheses Useless parentheses. 4 60
UselessParentheses Useless parentheses. 4 67
UselessParentheses Useless parentheses. 4 67

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 52

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 176
UselessParentheses Useless parentheses. 4 176
UselessParentheses Useless parentheses. 4 383
UselessParentheses Useless parentheses. 4 418
UselessParentheses Useless parentheses. 4 420
UselessParentheses Useless parentheses. 4 455

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 168
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 231
UselessParentheses Useless parentheses. 4 231

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 104
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 181
UselessParentheses Useless parentheses. 4 271
UselessParentheses Useless parentheses. 4 271

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 4953

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 137

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 101
UselessParentheses Useless parentheses. 4 101
UselessParentheses Useless parentheses. 4 109
UselessParentheses Useless parentheses. 4 109
UselessParentheses Useless parentheses. 4 116

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 490
UselessParentheses Useless parentheses. 4 494
UselessParentheses Useless parentheses. 4 498
UselessParentheses Useless parentheses. 4 502

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 57

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 81
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 85
UselessParentheses Useless parentheses. 4 87
UselessParentheses Useless parentheses. 4 89

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

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedPropertiesValueSource' 4 437
UselessParentheses Useless parentheses. 4 518

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 5052

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

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource' due to existing import 'org.codehaus.plexus.interpolation.fixed.PrefixedObjectValueSource' 4 212
UselessParentheses Useless parentheses. 4 405
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 444
UselessParentheses Useless parentheses. 4 448

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 54
UselessParentheses Useless parentheses. 4 88
UselessParentheses Useless parentheses. 4 88
UselessParentheses Useless parentheses. 4 93
UselessParentheses Useless parentheses. 4 93
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 105
UselessParentheses Useless parentheses. 4 105
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 115
UselessParentheses Useless parentheses. 4 115
UselessParentheses Useless parentheses. 4 122
UselessParentheses Useless parentheses. 4 122
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 132
UselessParentheses Useless parentheses. 4 132

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 7174