PMD Results

The following document contains the results of PMD 4.3.

Files

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

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

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

ViolationLine
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

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

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

ViolationLine
Too many static imports may lead to messy code37 - 388
Avoid unused method parameters such as 'request'.338 - 362

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

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

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

ViolationLine
Too many static imports may lead to messy code37 - 317

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

ViolationLine
These nested if statements could be combined248 - 250
These nested if statements could be combined260 - 262

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

ViolationLine
These nested if statements could be combined403 - 407
These nested if statements could be combined426 - 428
These nested if statements could be combined467 - 499
These nested if statements could be combined614 - 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

ViolationLine
Avoid empty catch blocks160 - 162

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

ViolationLine
Ensure you override both equals() and hashCode()244

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

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe308