PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/services/wpvs/config/ColormapDataset.java

Violation Line
Avoid unused method parameters such as 'adapter'. 109 - 129

org/deegree/services/wpvs/config/DEMDataset.java

Violation Line
Avoid unused constructor parameters such as 'directMeshfragmentPoolSize'. 91 - 100
Avoid unused method parameters such as 'configAdapter'. 164 - 206

org/deegree/services/wpvs/config/RenderableDataset.java

Violation Line
Avoid unused method parameters such as 'translationVector'. 262 - 265

org/deegree/services/wpvs/controller/WPVSController.java

Violation Line
Too many static imports may lead to messy code 37 - 388
Avoid unused method parameters such as 'request'. 338 - 362

org/deegree/services/wpvs/controller/capabilities/CapabilitiesXMLAdapter.java

Violation Line
Avoid unused imports such as 'org.deegree.services.jaxb.controller.DCPType' 54

org/deegree/services/wpvs/controller/getview/GetViewKVPAdapter.java

Violation Line
Too many static imports may lead to messy code 37 - 317

org/deegree/services/wpvs/io/DataObjectInfo.java

Violation Line
These nested if statements could be combined 248 - 250
These nested if statements could be combined 260 - 262

org/deegree/services/wpvs/io/db/DBBackend.java

Violation Line
These nested if statements could be combined 403 - 407
These nested if statements could be combined 426 - 428
These nested if statements could be combined 467 - 499
These nested if statements could be combined 614 - 620
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 986

org/deegree/services/wpvs/io/db/PostgisBackend.java

Violation Line
Avoid empty catch blocks 160 - 162

org/deegree/services/wpvs/io/file/IndexFile.java

Violation Line
Ensure you override both equals() and hashCode() 244

org/deegree/services/wpvs/io/file/ModelFile.java

Violation Line
Avoid using java.lang.ThreadGroup; it is not thread safe 308