PMD Results

The following document contains the results of PMD 4.1.

Files

org/paneris/melati/shopping/ShoppingConfigException.java

Violation Line
Use explicit scoping instead of the default package private level 60
It is a good practice to call super() in a constructor 67 - 69

org/paneris/melati/shopping/ShoppingContext.java

Violation Line
Each class should declare at least one constructor 54 - 58

org/paneris/melati/shopping/ShoppingTrolley.java

Violation Line
Use explicit scoping instead of the default package private level 88
Use explicit scoping instead of the default package private level 89
Found 'DD'-anomaly for variable 'value' (lines '333'-'335'). 333 - 335
Found 'DD'-anomaly for variable 'value' (lines '367'-'369'). 367 - 369
A method should have only one exit point, and that should be the last statement in the method 380
A method should have only one exit point, and that should be the last statement in the method 382
A method should have only one exit point, and that should be the last statement in the method 411 - 412

org/paneris/melati/shopping/ShoppingTrolleyItem.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 129

org/paneris/melati/shopping/Trolley.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 117
A method should have only one exit point, and that should be the last statement in the method 118
A method should have only one exit point, and that should be the last statement in the method 119
A method should have only one exit point, and that should be the last statement in the method 121
A method should have only one exit point, and that should be the last statement in the method 123
A method should have only one exit point, and that should be the last statement in the method 125
A method should have only one exit point, and that should be the last statement in the method 127
A method should have only one exit point, and that should be the last statement in the method 128
A method should have only one exit point, and that should be the last statement in the method 129
A method should have only one exit point, and that should be the last statement in the method 130
Found 'DD'-anomaly for variable 'quantity' (lines '266'-'278'). 266 - 278
Found 'DD'-anomaly for variable 'price' (lines '267'-'279'). 267 - 279
Found 'DU'-anomaly for variable 'price' (lines '267'-'289'). 267 - 289
Found 'DD'-anomaly for variable 'price' (lines '267'-'267'). 267
Found 'DU'-anomaly for variable 'description' (lines '274'-'289'). 274 - 289
Found 'DD'-anomaly for variable 'description' (lines '274'-'274'). 274
Found 'DU'-anomaly for variable 'price' (lines '279'-'289'). 279 - 289
Found 'DD'-anomaly for variable 'price' (lines '279'-'267'). 279 - 267
Found 'DD'-anomaly for variable 'price' (lines '318'-'322'). 318 - 322
Found 'DU'-anomaly for variable 'it' (lines '517'-'537'). 517 - 537