PMD Results

The following document contains the results of PMD 5.6.1.

Files

universAAL Support Manifest Maven Plugin - org/universAAL/support/maven/manifest/ManifestCombine.java

Violation Line
Avoid empty catch blocks 78–79

universAAL Support Manifest Maven Plugin - org/universAAL/support/maven/manifest/ManifestWriter.java

Violation Line
Avoid empty catch blocks 45–46
Avoid empty catch blocks 78–79

universAAL Support Maven Plugin - org/universAAL/maven/LaunchOrderDependencyNodeVisitor.java

Violation Line
Useless parentheses. 234
These nested if statements could be combined 244–249
These nested if statements could be combined 374–386
These nested if statements could be combined 381–383

universAAL Support Maven Plugin - org/universAAL/maven/UaalRunnerMojo.java

Violation Line
Too many static imports may lead to messy code 21–231
Avoid unused private fields such as 'separatedGroupIds'. 160

universAAL Support Maven Plugin - org/universAAL/maven/treebuilder/DependencyTreeBuilder.java

Violation Line
Avoid unused imports such as 'java.util.HashMap' 24
Ternary operators that can be simplified with || or && 326
These nested if statements could be combined 327–329
Ternary operators that can be simplified with || or && 332
These nested if statements could be combined 333–335
These nested if statements could be combined 612–635
These nested if statements could be combined 613–634
These nested if statements could be combined 936–938
Useless parentheses. 1134
Useless parentheses. 1136
Useless parentheses. 1139
These nested if statements could be combined 1187–1192
These nested if statements could be combined 1188–1191
These nested if statements could be combined 1294–1300
These nested if statements could be combined 1317–1321
These nested if statements could be combined 1318–1320

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/api/AbstractCheckMojo.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.maven.project.MavenProject' due to existing import 'org.apache.maven.project.MavenProject' 54
Unnecessary use of fully qualified name 'org.apache.maven.project.MavenProject' due to existing import 'org.apache.maven.project.MavenProject' 93

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/CodificationCheck.java

Violation Line
Avoid unused imports such as 'java.nio.ByteBuffer' 24
Avoid unused imports such as 'java.nio.charset.CharsetDecoder' 28

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/DecoupleCheck.java

Violation Line
Unnecessary use of fully qualified name 'java.util.Iterator' due to existing import 'java.util.Iterator' 48

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/DependencyManagementCheckFix.java

Violation Line
Avoid empty catch blocks 165–166

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/LicenseFileCheckFix.java

Violation Line
Avoid empty catch blocks 79–80
Avoid unused local variables such as 'notice'. 98

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/LicenseHeaderCheckFix.java

Violation Line
Useless parentheses. 93

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/checks/MavenCoordinateCheck.java

Violation Line
Avoid empty catch blocks 86–87

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/mojos/UpdateParentPom.java

Violation Line
Avoid empty catch blocks 59–60

universAAL Support uaalDirectives-maven-plugin - org/universAAL/support/directives/procedures/UpdateParentPomInteractiveProcedure.java

Violation Line
Useless parentheses. 92–94
Useless parentheses. 92–94
Avoid empty catch blocks 143–144