PMD Results

The following document contains the results of PMD 4.1.

Files

net/sf/xmile/AbstractVelocityMojo.java

Violation Line
Avoid excessively long variable names like TEMPLATE_RESOURCES 28
Avoid excessively long variable names like VELOCITY_TEMPLATE_EXTENSION 33
Avoid excessively long variable names like VELOCITY_PROPERTIES 40
An empty method in an abstract class should be abstract instead 96 - 98
Avoid variables with short names like rs 96
A method/constructor shouldn't explicitly throw java.lang.Exception 96
A method/constructor shouldn't explicitly throw java.lang.Exception 96
An empty method in an abstract class should be abstract instead 106 - 126
Avoid variables with short names like t 160
Use block level rather than method level synchronization 193 - 214
An empty method in an abstract class should be abstract instead 193 - 214

net/sf/xmile/AbstractXmileMojo.java

Violation Line
Avoid excessively long variable names like EXTENSION_SEPARATOR 19
An empty method in an abstract class should be abstract instead 45 - 47
An empty method in an abstract class should be abstract instead 55 - 57
An empty method in an abstract class should be abstract instead 91 - 93

net/sf/xmile/GraphRenderingMojo.java

Violation Line
Avoid excessively long variable names like DEFAULT_TIMEOUT_SECONDS 25
Avoid excessively long variable names like MILLISECONDS_PER_SECOND 36
Private field 'format' could be made final; it is only initialized in the declaration or constructor. 53
Private field 'timeout' could be made final; it is only initialized in the declaration or constructor. 60
Private field 'graphviz' could be made final; it is only initialized in the declaration or constructor. 67

net/sf/xmile/ProjectXmiMojo.java

Violation Line
Avoid excessively long variable names like dependencyTreeBuilder 35
Avoid excessively long variable names like artifactMetadataSource 50
Private field 'packageSingles' could be made final; it is only initialized in the declaration or constructor. 76
Private field 'transitiveLevel' could be made final; it is only initialized in the declaration or constructor. 96

net/sf/xmile/XmileReportMojo.java

Violation Line
Avoid unused private fields such as 'inputDirectory'. 67
Private field 'formats' could be made final; it is only initialized in the declaration or constructor. 74
Avoid unused private fields such as 'formats'. 74