PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/feature/persistence/sql/SQLFeatureStore.java

Violation Line
Too many static imports may lead to messy code 36 - 1568
Avoid unused method parameters such as 'filter'. 823 - 887
Avoid unused method parameters such as 'sortCrit'. 1076 - 1175
Avoid unused method parameters such as 'conn'. 1517 - 1522
Avoid unused method parameters such as 'conn'. 1524 - 1547

org/deegree/feature/persistence/sql/SQLFeatureStoreTransaction.java

Violation Line
Avoid unused method parameters such as 'lock'. 287 - 313
Avoid unused method parameters such as 'lock'. 315 - 337
Avoid unused local variables such as 'fid'. 565

org/deegree/feature/persistence/sql/blob/BlobCodec.java

Violation Line
Avoid unused method parameters such as 'nsContext'. 225 - 244

org/deegree/feature/persistence/sql/config/AbstractMappedSchemaBuilder.java

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

org/deegree/feature/persistence/sql/config/MappedSchemaBuilderGML.java

Violation Line
Too many static imports may lead to messy code 36 - 466
These nested if statements could be combined 355 - 358

org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTable.java

Violation Line
Too many static imports may lead to messy code 36 - 616
Avoid empty catch blocks 484 - 486

org/deegree/feature/persistence/sql/config/MappedSchemaBuilderTableOld.java

Violation Line
Too many static imports may lead to messy code 36 - 602
Avoid empty catch blocks 470 - 472

org/deegree/feature/persistence/sql/config/SQLFeatureStoreConfigWriter.java

Violation Line
Avoid unused method parameters such as 'blobMapping'. 176 - 180

org/deegree/feature/persistence/sql/converter/FeatureParticleConverter.java

Violation Line
Avoid unused private fields such as 'valueFt'. 67
Avoid unused private fields such as 'schema'. 69

org/deegree/feature/persistence/sql/ddl/DDLCreator.java

Violation Line
Avoid empty if statements 219 - 221

org/deegree/feature/persistence/sql/ddl/MSSQLDDLCreator.java

Violation Line
Avoid unused method parameters such as 'mapping'. 82 - 96
Avoid unused method parameters such as 'dbField'. 82 - 96
Avoid unused method parameters such as 'table'. 82 - 96

org/deegree/feature/persistence/sql/ddl/OracleDDLCreator.java

Violation Line
Avoid unused local variables such as 'schema'. 128
Avoid unused local variables such as 'srid'. 130

org/deegree/feature/persistence/sql/insert/InsertRow.java

Violation Line
These nested if statements could be combined 259 - 261

org/deegree/feature/persistence/sql/insert/InsertRowManager.java

Violation Line
These nested if statements could be combined 306 - 308
Avoid empty if statements 400 - 402

org/deegree/feature/persistence/sql/mapper/AppSchemaMapper.java

Violation Line
Too many static imports may lead to messy code 36 - 856
These nested if statements could be combined 517 - 520
Avoid unused method parameters such as 'parentCTs'. 581 - 591
Avoid unused method parameters such as 'parentEls'. 593 - 651
Avoid unused method parameters such as 'parentCTs'. 593 - 651
Avoid unused method parameters such as 'maxOccurs'. 653 - 690
Avoid unused method parameters such as 'mc'. 808 - 819
Avoid unused method parameters such as 'occurrence'. 808 - 819
Avoid unused method parameters such as 'wildCard'. 808 - 819
Avoid unused method parameters such as 'parentCTs'. 808 - 819
Avoid unused private methods such as 'getQName(XSTypeDefinition)'. 830

org/deegree/feature/persistence/sql/mapper/XPathSchemaWalker.java

Violation Line
Avoid empty if statements 121 - 123
Avoid empty if statements 207 - 209
Avoid empty if statements 209 - 211

org/deegree/feature/persistence/sql/rules/FeatureBuilderRelational.java

Violation Line
Avoid empty if statements 230 - 232
Avoid unused local variables such as 'fm'. 383
Avoid unused private methods such as 'getNilledAttributes(XSElementDeclaration,Map)'. 596 - 597
These nested if statements could be combined 721 - 733

org/deegree/feature/persistence/sql/xpath/AttrStep.java

Violation Line
Ensure you override both equals() and hashCode() 55

org/deegree/feature/persistence/sql/xpath/ElementStep.java

Violation Line
Ensure you override both equals() and hashCode() 66

org/deegree/feature/persistence/sql/xpath/MappableStep.java

Violation Line
Avoid empty if statements 82 - 84

org/deegree/feature/persistence/sql/xpath/MappedXPath.java

Violation Line
Avoid unused method parameters such as 'steps'. 232 - 234
Avoid unused method parameters such as 'remaining'. 236 - 249
Avoid unused method parameters such as 'remaining'. 251 - 264

org/deegree/feature/persistence/sql/xpath/TextStep.java

Violation Line
Ensure you override both equals() and hashCode() 49