PMD Results

The following document contains the results of PMD 5.0.2.

Files

org/andromda/maven/plugin/cartridge/site/AbstractSiteMojo.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 30
Parameter 'destFile' is not assigned and could be declared final 40
Parameter 'sourceFile' is not assigned and could be declared final 40
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 48
Parameter 'location' is not assigned and could be declared final 61
Parameter 'file' is not assigned and could be declared final 61
Avoid printStackTrace(); use a logger call instead. 80
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 84
Avoid printStackTrace(); use a logger call instead. 86

org/andromda/maven/plugin/cartridge/site/GenerateCartridgeHowtoArtifactsMojo.java

Violation Line
Avoid excessively long variable names like howtoCartridgePicturesSourcePath 33
Found non-transient, non-static member. Please mark as transient or provide accessors. 33
Avoid excessively long variable names like howtoCartridgePicturesOutputDirectory 40
Found non-transient, non-static member. Please mark as transient or provide accessors. 40
Found non-transient, non-static member. Please mark as transient or provide accessors. 48
Found non-transient, non-static member. Please mark as transient or provide accessors. 53
Found non-transient, non-static member. Please mark as transient or provide accessors. 63
Found non-transient, non-static member. Please mark as transient or provide accessors. 78
Found non-transient, non-static member. Please mark as transient or provide accessors. 86
A catch statement should never catch throwable since it includes errors. 124
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 126
A catch statement should never catch throwable since it includes errors. 156
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 158