PMD Results
The following document contains the results of PMD 4.2.5.
Files
it/amattioli/workstate/actions/BeanShellGuard.java
Violation |
Line |
Avoid empty if statements |
31 - 33 |
it/amattioli/workstate/actions/BeanShellTransitionAction.java
Violation |
Line |
Avoid empty if statements |
11 - 13 |
it/amattioli/workstate/config/ConfigBuilder.java
Violation |
Line |
The class 'ConfigBuilder' has a Cyclomatic Complexity of 3 (Highest = 14). |
74 - 391 |
The method 'newState' has a Cyclomatic Complexity of 14. |
161 - 209 |
Avoid empty if statements |
378 - 380 |
Avoid empty if statements |
381 - 383 |
it/amattioli/workstate/config/MetaAttributeBuilder.java
Violation |
Line |
Avoid empty if statements |
64 - 67 |
it/amattioli/workstate/config/MetaEventBuilder.java
Violation |
Line |
Avoid empty if statements |
56 - 59 |
it/amattioli/workstate/config/SaxEventsHandler.java
Violation |
Line |
The class 'SaxEventsHandler' has a Cyclomatic Complexity of 8 (Highest = 17). |
13 - 96 |
The method 'startElement' has a Cyclomatic Complexity of 13. |
25 - 54 |
The method 'endElement' has a Cyclomatic Complexity of 17. |
60 - 94 |
it/amattioli/workstate/core/CompositeState.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
8 - 125 |
Ensure you override both equals() and hashCode() |
79 |
it/amattioli/workstate/core/ConcurrentState.java
Violation |
Line |
Avoid using if statements without curly braces |
62 - 63 |
it/amattioli/workstate/core/EventRepository.java
Violation |
Line |
Avoid empty if statements |
94 - 96 |
it/amattioli/workstate/core/ExternalTransition.java
Violation |
Line |
Avoid empty if statements |
48 - 50 |
Ensure you override both equals() and hashCode() |
67 |
it/amattioli/workstate/core/Machine.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
10 - 189 |
it/amattioli/workstate/core/MetaAttribute.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
123 |
it/amattioli/workstate/core/MetaEvent.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
197 |
it/amattioli/workstate/core/MetaMachine.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
11 - 104 |
it/amattioli/workstate/core/MetaPseudoState.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
14 |
it/amattioli/workstate/core/MetaRealState.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
144 |
it/amattioli/workstate/core/RealState.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
15 - 221 |
Ensure you override both equals() and hashCode() |
204 |
it/amattioli/workstate/core/ReferenceState.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
16 - 133 |
Avoid empty if statements |
129 - 131 |
it/amattioli/workstate/core/SequentialState.java
Violation |
Line |
Avoid empty if statements |
150 - 152 |
it/amattioli/workstate/core/State.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
17 - 224 |
Ensure you override both equals() and hashCode() |
189 |
it/amattioli/workstate/core/Transition.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
12 - 188 |
Ensure you override both equals() and hashCode() |
162 |
The method toString() has an NPath complexity of 625 |
175 - 186 |
it/amattioli/workstate/exceptions/ErrorMessages.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
6 - 143 |
it/amattioli/workstate/exceptions/KeyedMessage.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
83 |
it/amattioli/workstate/exceptions/MessageBundle.java
Violation |
Line |
The class 'MessageBundle' has a Cyclomatic Complexity of 3 (Highest = 11). |
15 - 129 |
The method 'replaceResources' has a Cyclomatic Complexity of 11. |
78 - 127 |
it/amattioli/workstate/exceptions/WorkflowException.java
Violation |
Line |
Ensure you override both equals() and hashCode() |
67 |
it/amattioli/workstate/hibernate/MachineHibernateType.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
21 - 115 |
Avoid using if statements without curly braces |
102 - 103 |
Avoid using if statements without curly braces |
104 - 105 |