PMD Results

The following document contains the results of PMD 5.0.2.

Files

org/andromda/cartridges/jbpm/JBpmProfile.java

Violation Line
Variables that are final and static should be all capitals, 'profile' is not all capitals. 15
Avoid excessively long variable names like TAGGEDVALUE_ASSIGNMENT_EXPRESSION 51

org/andromda/cartridges/jbpm/metafacades/JBpmActionLogicImpl.java

Violation Line
Parameter 'context' is not assigned and could be declared final 23
Parameter 'metaObject' is not assigned and could be declared final 23
Avoid if (x != y) ..; else ..; 34 - 46
Unnecessary wrapper object creation 134
Assigning an Object to null is a code smell. Consider refactoring. 143

org/andromda/cartridges/jbpm/metafacades/JBpmEndStateLogicImpl.java

Violation Line
Parameter 'metaObject' is not assigned and could be declared final 16
Parameter 'context' is not assigned and could be declared final 16
Line too long 22

org/andromda/cartridges/jbpm/metafacades/JBpmEventStateLogicImpl.java

Violation Line
Parameter 'context' is not assigned and could be declared final 21
Parameter 'metaObject' is not assigned and could be declared final 21

org/andromda/cartridges/jbpm/metafacades/JBpmHandlerLogicImpl.java

Violation Line
Parameter 'metaObject' is not assigned and could be declared final 26
Parameter 'context' is not assigned and could be declared final 26
Found non-transient, non-static member. Please mark as transient or provide accessors. 77
Avoid using redundant field initializer for 'internalActions' 77
Deeply nested if..then statements are hard to read 92 - 99
Deeply nested if..then statements are hard to read 106 - 116
These nested if statements could be combined 108 - 115

org/andromda/cartridges/jbpm/metafacades/JBpmNodeLogicImpl.java

Violation Line
Parameter 'metaObject' is not assigned and could be declared final 16
Parameter 'context' is not assigned and could be declared final 16
Line too long 40

org/andromda/cartridges/jbpm/metafacades/JBpmProcessDefinitionLogicImpl.java

Violation Line
Parameter 'metaObject' is not assigned and could be declared final 28
Parameter 'context' is not assigned and could be declared final 28
Local variable 'node' could be declared final 99

org/andromda/cartridges/jbpm/metafacades/JBpmPseudostateLogicImpl.java

Violation Line
Parameter 'metaObject' is not assigned and could be declared final 22
Parameter 'context' is not assigned and could be declared final 22

org/andromda/cartridges/jbpm/metafacades/JBpmStateLogicImpl.java

Violation Line
Parameter 'context' is not assigned and could be declared final 18
Parameter 'metaObject' is not assigned and could be declared final 18

org/andromda/cartridges/jbpm/metafacades/JBpmStateVertexLogicImpl.java

Violation Line
Parameter 'context' is not assigned and could be declared final 21
Parameter 'metaObject' is not assigned and could be declared final 21
Assigning an Object to null is a code smell. Consider refactoring. 52
Assigning an Object to null is a code smell. Consider refactoring. 68
Useless parentheses. 68

org/andromda/cartridges/jbpm/metafacades/JBpmSwimlaneLogicImpl.java

Violation Line
Parameter 'context' is not assigned and could be declared final 21
Parameter 'metaObject' is not assigned and could be declared final 21

org/andromda/cartridges/jbpm/metafacades/JBpmTransitionLogicImpl.java

Violation Line
Parameter 'context' is not assigned and could be declared final 20
Parameter 'metaObject' is not assigned and could be declared final 20