PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/maven/plugins/shade/mojo/ShadeMojo.java

ViolationLine
Avoid unused private fields such as 'artifactMetadataSource'.131

org/apache/maven/plugins/shade/pom/MavenJDOMWriter.java

ViolationLine
The null check here is misplaced; if the variable is null therell be a NullPointerException177
The null check here is misplaced; if the variable is null therell be a NullPointerException177

org/apache/maven/plugins/shade/resource/XmlAppendingTransformer.java

ViolationLine
Error while parsing /Users/kristian/lsrc/shade-2.1/src/main/java/org/apache/maven/plugins/shade/resource/XmlAppendingTransformer.java: Encountered " "@" "@ "" at line 101, column 19. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "false" ... "float" ... "int" ... "long" ... "new" ... "null" ... "short" ... "super" ... "this" ... "true" ... "void" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <HEX_FLOATING_POINT_LITERAL> ... <CHARACTER_LITERAL> ... <STRING_LITERAL> ... <IDENTIFIER> ... "(" ... "++" ... "--" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... 0