The following document contains the results of PMD 5.0.5.
Violation | Line |
---|---|
Parameter 'namespace' is not assigned and could be declared final | 38 |
A method/constructor shouldnt explicitly throw java.lang.Exception | 38 |
Avoid using redundant field initializer for 'configuration' | 46 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 46 |
Parameter 'templateFile' is not assigned and could be declared final | 52 |
A method/constructor shouldnt explicitly throw java.lang.Exception | 52 |
Avoid reassigning parameters such as 'templateObjects' | 52 |
Parameter 'output' is not assigned and could be declared final | 52 |
Parameter 'name' is not assigned and could be declared final | 88 |
Assigning an Object to null is a code smell. Consider refactoring. | 100 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 106 |
Private field 'macroLibraries' could be made final; it is only initialized in the declaration or constructor. | 106 |
Parameter 'macroLibrary' is not assigned and could be declared final | 119 |
Parameter 'mergeLocation' is not assigned and could be declared final | 127 |
Document empty method | 128–129 |
Avoid reassigning parameters such as 'templateObjects' | 140 |
A catch statement should never catch throwable since it includes errors. | 159 |
Avoid using redundant field initializer for 'logger' | 168 |
The Logger variable declaration does not contain the static and final modifiers | 168 |
Parameter 'pluginName' is not assigned and could be declared final | 176 |
Local variable 'appender' could be declared final | 180–181 |
Local variable 'appenders' could be declared final | 190 |
Local variable 'appender' could be declared final | 193 |