PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/feature/GenericFeature.java

ViolationLine
Avoid empty if statements111 - 113
These nested if statements could be combined120 - 128

org/deegree/feature/i18n/Messages.java

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

org/deegree/feature/property/GenericProperty.java

ViolationLine
These nested if statements could be combined120 - 128
Avoid unused constructor parameters such as 'value'.149 - 161

org/deegree/feature/types/DynamicFeatureType.java

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

org/deegree/feature/types/GenericAppSchema.java

ViolationLine
These nested if statements could be combined195 - 204
These nested if statements could be combined214 - 220
These nested if statements could be combined272 - 275
Avoid empty if statements485 - 487

org/deegree/feature/types/property/SimplePropertyType.java

ViolationLine
Avoid unused constructor parameters such as 'type'.71 - 75

org/deegree/feature/utils/DBUtils.java

ViolationLine
Too many static imports may lead to messy code36 - 298
Avoid unused imports such as 'org.deegree.commons.jdbc.ConnectionManager.getConnection'50

org/deegree/filter/ResourceId.java

ViolationLine
Avoid unused private fields such as 'previousRid'.52
Avoid unused private fields such as 'version'.54
Avoid unused private fields such as 'startDate'.56
Avoid unused private fields such as 'endDate'.58

org/deegree/filter/comparison/PropertyIsLessThanOrEqualTo.java

ViolationLine
Avoid unused imports such as 'org.deegree.commons.tom.TypedObjectNode'38
Avoid unused imports such as 'org.deegree.commons.utils.Pair'40
Avoid unused imports such as 'org.deegree.filter.FilterEvaluationException'42
Avoid unused imports such as 'org.deegree.filter.XPathEvaluator'44

org/deegree/filter/comparison/PropertyIsLike.java

ViolationLine
These nested if statements could be combined236 - 238

org/deegree/filter/comparison/PropertyIsNil.java

ViolationLine
These nested if statements could be combined96 - 98

org/deegree/filter/expression/Add.java

ViolationLine
Avoid empty catch blocks98 - 100

org/deegree/filter/expression/Div.java

ViolationLine
Avoid empty catch blocks100 - 102

org/deegree/filter/expression/Mul.java

ViolationLine
Avoid empty catch blocks98 - 100

org/deegree/filter/expression/Sub.java

ViolationLine
Avoid empty catch blocks98 - 100

org/deegree/filter/expression/ValueReference.java

ViolationLine
These nested if statements could be combined136 - 149

org/deegree/filter/expression/custom/CustomExpression.java

ViolationLine
Avoid unused imports such as 'org.deegree.commons.xml.XMLParsingException'42

org/deegree/filter/function/ParameterType.java

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

org/deegree/filter/i18n/Messages.java

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

org/deegree/filter/temporal/TemporalOperator.java

ViolationLine
Avoid unused private fields such as 'LOG'.53

org/deegree/filter/xml/Filter100XMLDecoder.java

ViolationLine
Too many static imports may lead to messy code35 - 931

org/deegree/filter/xml/Filter110XMLDecoder.java

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

org/deegree/filter/xml/Filter200XMLDecoder.java

ViolationLine
Too many static imports may lead to messy code36 - 1193
Avoid unused private fields such as 'GML_NS'.144
Avoid unused private fields such as 'GML32_NS'.146
Avoid unused private fields such as 'RID_ATTR_NAME'.150
Avoid unused private fields such as 'PREVIOUS_RID_ATTR_NAME'.152
Avoid unused private fields such as 'VERSION_ATTR_NAME'.154
Avoid unused private fields such as 'START_DATE_ATTR_NAME'.156
Avoid unused private fields such as 'END_DATE_ATTR_NAME'.158

org/deegree/filter/xml/FilterCapabilitiesExporter.java

ViolationLine
Too many static imports may lead to messy code36 - 550
Avoid unused private methods such as 'exportTemporalOperand(XMLStreamWriter,String)'.313
Avoid unused private methods such as 'exportTemporalOperator(XMLStreamWriter,String)'.319
Avoid unused method parameters such as 'writer'.382 - 384

org/deegree/gml/GMLStreamWriter.java

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

org/deegree/gml/GMLVersion.java

ViolationLine
Avoid empty catch blocks132 - 134

org/deegree/gml/commons/AbstractGMLObjectReader.java

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

org/deegree/gml/dictionary/GMLDictionaryReader.java

ViolationLine
Avoid unused private fields such as 'LOG'.71
Avoid unused private fields such as 'version'.73

org/deegree/gml/dictionary/GMLDictionaryWriter.java

ViolationLine
Avoid unused private fields such as 'version'.57

org/deegree/gml/feature/GMLFeatureReader.java

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

org/deegree/gml/feature/GMLFeatureWriter.java

ViolationLine
Too many static imports may lead to messy code37 - 726
These nested if statements could be combined334 - 336
These nested if statements could be combined405 - 407

org/deegree/gml/feature/StreamFeatureCollection.java

ViolationLine
Avoid unused private fields such as 'fid'.83

org/deegree/gml/geometry/GML2GeometryReader.java

ViolationLine
These nested if statements could be combined712 - 721
These nested if statements could be combined954 - 956

org/deegree/gml/geometry/GML3GeometryBaseReader.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal260
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal279
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal298
These nested if statements could be combined322 - 324

org/deegree/gml/geometry/GML3GeometryWriter.java

ViolationLine
Avoid unused private fields such as 'stdPropsWriter'.149
Avoid unused method parameters such as 'srsDimension'.1484 - 1528

org/deegree/gml/geometry/GML3SurfacePatchReader.java

ViolationLine
These nested if statements could be combined370 - 379

org/deegree/gml/geometry/GMLGeometryVersionHelper.java

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

org/deegree/gml/geometry/validation/GmlStreamGeometryValidator.java

ViolationLine
These nested if statements could be combined109 - 111

org/deegree/gml/i18n/Messages.java

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

org/deegree/gml/reference/GmlXlinkOptions.java

ViolationLine
Avoid unused private fields such as 'resolvePath'.59

org/deegree/gml/schema/GMLAppSchemaWriter.java

ViolationLine
Too many static imports may lead to messy code36 - 1161
These nested if statements could be combined381 - 383
Avoid unused method parameters such as 'pt'.818 - 826
Avoid unused method parameters such as 'pt'.828 - 836

org/deegree/gml/schema/GMLSchemaInfoSet.java

ViolationLine
Too many static imports may lead to messy code36 - 1241
These nested if statements could be combined488 - 490
These nested if statements could be combined504 - 506
These nested if statements could be combined632 - 638
Avoid unused method parameters such as 'typeDef'.792 - 813
Avoid unused method parameters such as 'typeDef'.815 - 835
Avoid unused method parameters such as 'typeDef'.837 - 857
Avoid unused local variables such as 'minOccurs3'.980

org/deegree/gml/utils/GMLObjectWalker.java

ViolationLine
These nested if statements could be combined110 - 113
Avoid unused method parameters such as 'p'.290 - 292
Avoid unused method parameters such as 'c'.294 - 296
Avoid unused method parameters such as 'p'.298 - 300

org/deegree/gml/utils/XMLTransformer.java

ViolationLine
Too many static imports may lead to messy code39 - 267