PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/feature/GenericFeature.java

Violation Line
Avoid empty if statements 111 - 113
These nested if statements could be combined 120 - 128

org/deegree/feature/property/GenericProperty.java

Violation Line
These nested if statements could be combined 120 - 128
Avoid unused constructor parameters such as 'value'. 149 - 161

org/deegree/feature/types/DynamicFeatureType.java

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

org/deegree/feature/types/GenericAppSchema.java

Violation Line
These nested if statements could be combined 195 - 204
These nested if statements could be combined 214 - 220
These nested if statements could be combined 272 - 275
Avoid empty if statements 485 - 487

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

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

org/deegree/feature/utils/DBUtils.java

Violation Line
Too many static imports may lead to messy code 36 - 298
Avoid unused imports such as 'org.deegree.commons.jdbc.ConnectionManager.getConnection' 50

org/deegree/filter/ResourceId.java

Violation Line
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

Violation Line
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

Violation Line
These nested if statements could be combined 236 - 238

org/deegree/filter/comparison/PropertyIsNil.java

Violation Line
These nested if statements could be combined 96 - 98

org/deegree/filter/expression/Add.java

Violation Line
Avoid empty catch blocks 98 - 100

org/deegree/filter/expression/Div.java

Violation Line
Avoid empty catch blocks 100 - 102

org/deegree/filter/expression/Mul.java

Violation Line
Avoid empty catch blocks 98 - 100

org/deegree/filter/expression/Sub.java

Violation Line
Avoid empty catch blocks 98 - 100

org/deegree/filter/expression/ValueReference.java

Violation Line
These nested if statements could be combined 136 - 149

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

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

org/deegree/filter/function/ParameterType.java

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

org/deegree/filter/temporal/TemporalOperator.java

Violation Line
Avoid unused private fields such as 'LOG'. 53

org/deegree/filter/xml/Filter100XMLDecoder.java

Violation Line
Too many static imports may lead to messy code 35 - 931

org/deegree/filter/xml/Filter110XMLDecoder.java

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

org/deegree/filter/xml/Filter200XMLDecoder.java

Violation Line
Too many static imports may lead to messy code 36 - 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

Violation Line
Too many static imports may lead to messy code 36 - 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

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

org/deegree/gml/GMLVersion.java

Violation Line
Avoid empty catch blocks 132 - 134

org/deegree/gml/commons/AbstractGMLObjectReader.java

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

org/deegree/gml/dictionary/GMLDictionaryReader.java

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

org/deegree/gml/dictionary/GMLDictionaryWriter.java

Violation Line
Avoid unused private fields such as 'version'. 57

org/deegree/gml/feature/GMLFeatureReader.java

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

org/deegree/gml/feature/GMLFeatureWriter.java

Violation Line
Too many static imports may lead to messy code 37 - 729
These nested if statements could be combined 337 - 339
These nested if statements could be combined 408 - 410

org/deegree/gml/feature/StreamFeatureCollection.java

Violation Line
Avoid unused private fields such as 'fid'. 83

org/deegree/gml/geometry/GML2GeometryReader.java

Violation Line
These nested if statements could be combined 712 - 721
These nested if statements could be combined 954 - 956

org/deegree/gml/geometry/GML3GeometryBaseReader.java

Violation Line
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal 260
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal 279
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal 298
These nested if statements could be combined 322 - 324

org/deegree/gml/geometry/GML3GeometryWriter.java

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

org/deegree/gml/geometry/GML3SurfacePatchReader.java

Violation Line
These nested if statements could be combined 370 - 379

org/deegree/gml/geometry/GMLGeometryVersionHelper.java

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

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

Violation Line
These nested if statements could be combined 109 - 111

org/deegree/gml/reference/GmlXlinkOptions.java

Violation Line
Avoid unused private fields such as 'resolvePath'. 59

org/deegree/gml/schema/GMLAppSchemaWriter.java

Violation Line
Too many static imports may lead to messy code 36 - 1161
These nested if statements could be combined 381 - 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

Violation Line
Too many static imports may lead to messy code 36 - 1241
These nested if statements could be combined 488 - 490
These nested if statements could be combined 504 - 506
These nested if statements could be combined 632 - 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

Violation Line
These nested if statements could be combined 110 - 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

Violation Line
Too many static imports may lead to messy code 39 - 267