PMD Results
The following document contains the results of PMD
4.2.2.
Files
entropy/configuration/Configuration.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
460
|
entropy/configuration/ManagedElementSet.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
146
|
entropy/constraintsSolver/ChocoSolver.java
| Violation |
Line |
| Avoid empty if statements |
557
- 560
|
entropy/constraintsSolver/constraint/IntKnapsackConstraint.java
| Violation |
Line |
| Avoid unused local variables such as 'nbElem'. |
185
|
entropy/constraintsSolver/search/BiggestVirtualMachinesFirst.java
| Violation |
Line |
| Avoid unused private fields such as 'all'. |
46
|
| Avoid unused private fields such as 'lastAssigned'. |
50
|
entropy/constraintsSolver/search/BusiestNode.java
| Violation |
Line |
| Avoid unused private fields such as 'rc'. |
52
|
entropy/constraintsSolver/search/StayFirstNodeSelector.java
| Violation |
Line |
| These nested if statements could be combined |
56
- 58
|
entropy/decision/FirstFitRunningLeaseSelector.java
| Violation |
Line |
| Avoid unused private fields such as 'vmComp'. |
42
|
| Avoid unused private fields such as 'nodeComp'. |
47
|
entropy/decision/VirtualMachinesPackingProblem.java
| Violation |
Line |
| Avoid unused private fields such as 'all'. |
58
|
entropy/execution/SingleDriverExecutor.java
| Violation |
Line |
| Avoid unused local variables such as 'ret'. |
33
|
entropy/observatory/Observations.java
| Violation |
Line |
| Avoid empty if statements |
71
- 73
|
entropy/plan/ActionsSequence.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
160
|
entropy/plan/DefaultPlanner.java
| Violation |
Line |
| Avoid empty if statements |
123
- 125
|
| Avoid empty if statements |
137
- 139
|
entropy/plan/ReorganizationProblem.java
| Violation |
Line |
| Avoid unused private methods such as 'getNbNodesVar(ChocoSolver)'. |
125
|
entropy/plan/action/Migration.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
67
|
| These nested if statements could be combined |
143
- 145
|
entropy/plan/action/NodeAction.java
| Violation |
Line |
| Invoke equals() on the object you've already ensured is not null |
95
|
entropy/plan/action/Resume.java
| Violation |
Line |
| These nested if statements could be combined |
121
- 123
|
entropy/plan/action/Shutdown.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
48
|
entropy/plan/action/Startup.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
46
|
entropy/plan/action/Suspend.java
| Violation |
Line |
| These nested if statements could be combined |
100
- 102
|
entropy/plan/action/VirtualMachineAction.java
| Violation |
Line |
| These nested if statements could be combined |
99
- 101
|
entropy/plan/graph/Edge.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
58
|
entropy/plan/graph/Farm.java
| Violation |
Line |
| Ensure you override both equals() and hashCode() |
62
|
entropy/tool/BenchRJSP.java
| Violation |
Line |
| Avoid unused local variables such as 'c'. |
190
|