PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/andromda/beautifier/plugin/ImportBeautifierMojo.java

Violation Line
Found non-transient, non-static member. Please mark as transient or provide accessors. 39
Found non-transient, non-static member. Please mark as transient or provide accessors. 47
Comment is too large: Line too long 64
Avoid using redundant field initializer for 'skipProcessing' 69
Private field 'skipProcessing' could be made final; it is only initialized in the declaration or constructor. 69
Found non-transient, non-static member. Please mark as transient or provide accessors. 69
Local variable 'file' could be declared final 83
Local variable 'outputFile' could be declared final 95
Local variable 'extensions' could be declared final 107
Local variable 'files' could be declared final 108
Local variable 'processor' could be declared final 109
Local variable 'formatFile' could be declared final 110
Local variable 'output' could be declared final 115

org/andromda/beautifier/plugin/HelpMojo.java

Violation Line
Comment is too large: Line too long 11
Found non-transient, non-static member. Please mark as transient or provide accessors. 27
Found non-transient, non-static member. Please mark as transient or provide accessors. 34
Found non-transient, non-static member. Please mark as transient or provide accessors. 41
Found non-transient, non-static member. Please mark as transient or provide accessors. 48
The method execute() has an NPath complexity of 600 52144
Avoid variables with short names like sb 66
Local variable 'sb' could be declared final 66
The String literal "" appears 14 times in this file; the first occurrence is on line 69 69
Parameter 'repeat' is not assigned and could be declared final 155
Parameter 'str' is not assigned and could be declared final 155
Local variable 'buffer' could be declared final 157
Parameter 'sb' is not assigned and could be declared final 175
Parameter 'description' is not assigned and could be declared final 175
Avoid variables with short names like sb 175
Parameter 'indent' is not assigned and could be declared final 175
Local variable 'it' could be declared final 177
Parameter 'indent' is not assigned and could be declared final 193
Parameter 'lineLength' is not assigned and could be declared final 193
Parameter 'indentSize' is not assigned and could be declared final 193
Parameter 'text' is not assigned and could be declared final 193
Local variable 'lines' could be declared final 195
Local variable 'ind' could be declared final 197
Local variable 'plainLines' could be declared final 198
Parameter 'line' is not assigned and could be declared final 215
Parameter 'indentSize' is not assigned and could be declared final 215
Parameter 'lines' is not assigned and could be declared final 215
Parameter 'lineLength' is not assigned and could be declared final 215
Local variable 'lineIndent' could be declared final 217
Local variable 'buf' could be declared final 218
Local variable 'tokens' could be declared final 219
Local variable 'token' could be declared final 222
Avoid variables with short names like c 238
Local variable 'c' could be declared final 238
Parameter 'line' is not assigned and could be declared final 262