PMD Results

The following document contains the results of PMD 5.0.2.

Files

org/andromda/cartridges/java/JavaUtils.java

Violation Line
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 13 - 93
Parameter 'packageName' is not assigned and could be declared final 25
Avoid variables with short names like df 30
Parameter 'format' is not assigned and could be declared final 38
Singleton is not thread safe 40 - 43

org/andromda/cartridges/java/metafacades/JavaClassLogicImpl.java

Violation Line
Parameter 'metaObject' is not assigned and could be declared final 30
Parameter 'context' is not assigned and could be declared final 31
Parameter 'fault' is not assigned and could be declared final 43
Prefer StringBuffer over += for concatenating strings 51
Local variable 'generalizableElementFacade' could be declared final 133
Use bitwise inversion to invert boolean values 136
Local variable 'parameterIterator' could be declared final 170
Useless parentheses. 173
This statement may have some unnecessary parentheses 173

org/andromda/cartridges/java/metafacades/JavaGlobals.java

Violation Line
Avoid excessively long variable names like INTERFACE_IMPLEMENTATION_NAME_PATTERN 13