PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/metadata/DCRecord.java

Violation Line
Too many static imports may lead to messy code 36 - 406

org/deegree/metadata/ebrim/AdhocQuery.java

Violation Line
Avoid empty catch blocks 84 - 86

org/deegree/metadata/ebrim/RegistryObject.java

Violation Line
These nested if statements could be combined 287 - 289
These nested if statements could be combined 350 - 352

org/deegree/metadata/iso/parsing/ParseIdentificationInfo.java

Violation Line
Avoid unused imports such as 'java.io.IOException' 43
Avoid unused imports such as 'org.deegree.protocol.csw.MetadataStoreException' 62
Avoid unused constructor parameters such as 'factory'. 86 - 89
Avoid unused local variables such as 'identificationInfo_Update'. 105
Avoid unused local variables such as 'edition'. 138
Avoid unused local variables such as 'editionDate'. 139
Avoid unused local variables such as 'citedResponsibleParty'. 180
Avoid unused local variables such as 'presentationForm'. 182
Avoid unused local variables such as 'series'. 184
Avoid unused local variables such as 'otherCitationDetails'. 185
Avoid unused local variables such as 'collectiveTitle'. 187
Avoid unused local variables such as 'ISBN'. 188
Avoid unused local variables such as 'ISSN'. 189
Avoid unused local variables such as 'purpose'. 198
Avoid unused local variables such as 'credit'. 206
An empty statement (semicolon) not part of a loop 213
Avoid unused local variables such as 'status'. 214
Avoid unused local variables such as 'resourceMaintenance'. 230
Avoid unused local variables such as 'resourceFormat'. 240
Avoid unused local variables such as 'resourceSpecificUsage'. 256
An empty statement (semicolon) not part of a loop 265
Avoid unused local variables such as 'spatialRepresentationType'. 271
Avoid unused local variables such as 'characterSet_md_dataIdent'. 275
Avoid unused local variables such as 'environmentDescription'. 276
Avoid unused local variables such as 'supplementalInformation'. 277
An empty statement (semicolon) not part of a loop 336
Avoid unused local variables such as 'serviceTypeElem'. 433
Avoid unused local variables such as 'serviceTypeVersionElem'. 434
Avoid unused local variables such as 'accessProperties'. 435
Avoid unused local variables such as 'restrictions'. 436
Avoid unused local variables such as 'coupledResource'. 439
Avoid unused local variables such as 'couplingType'. 440
Avoid unused local variables such as 'operation_dcp'. 526
Avoid unused local variables such as 'operation_linkage'. 530
Avoid unused local variables such as 'graphicOverview'. 889

org/deegree/metadata/iso/parsing/RecordPropertyParser.java

Violation Line
Avoid unused imports such as 'java.io.IOException' 43
Avoid unused imports such as 'org.deegree.protocol.csw.MetadataStoreException' 63
These nested if statements could be combined 325 - 327