PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/metadata/DCRecord.java

ViolationLine
Too many static imports may lead to messy code36 - 406

org/deegree/metadata/ebrim/AdhocQuery.java

ViolationLine
Avoid empty catch blocks84 - 86

org/deegree/metadata/ebrim/RegistryObject.java

ViolationLine
These nested if statements could be combined287 - 289
These nested if statements could be combined350 - 352

org/deegree/metadata/i18n/Messages.java

ViolationLine
Avoid unused private methods such as 'get(Properties,String,Object...)'.138

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

ViolationLine
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 loop213
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 loop265
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 loop336
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

ViolationLine
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 combined325 - 327