PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/andromda/templateengines/velocity/VelocityTemplateEngine.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 1388
The Logger variable declaration does not contain the static and final modifiers 51
Avoid using redundant field initializer for 'logger' 51
Found non-transient, non-static member. Please mark as transient or provide accessors. 56
Avoid using redundant field initializer for 'appender' 56
Found non-transient, non-static member. Please mark as transient or provide accessors. 76
Found non-transient, non-static member. Please mark as transient or provide accessors. 81
Found non-transient, non-static member. Please mark as transient or provide accessors. 86
Found non-transient, non-static member. Please mark as transient or provide accessors. 90
Found non-transient, non-static member. Please mark as transient or provide accessors. 94
Found non-transient, non-static member. Please mark as transient or provide accessors. 100
Found non-transient, non-static member. Please mark as transient or provide accessors. 105
A method/constructor shouldnt explicitly throw java.lang.Exception 114
Local variable 'engineProperties' could be declared final 119
Local variable 'macroLibrary' could be declared final 142
Parameter 'pluginName' is not assigned and could be declared final 176
Local variable 'propertiesUri' could be declared final 180181
Local variable 'properties' could be declared final 190
Local variable 'entry' could be declared final 193
A method/constructor shouldnt explicitly throw java.lang.Exception 214
Local variable 'entry' could be declared final 263
Parameter 'templatePath' is not assigned and could be declared final 278
A catch statement should never catch throwable since it includes errors. 321
Parameter 'libraryName' is not assigned and could be declared final 340
Parameter 'mergeLocation' is not assigned and could be declared final 348
Assigning an Object to null is a code smell. Consider refactoring. 362