PMD Results

The following document contains the results of PMD 4.3.

Files

org/deegree/commons/config/AbstractBasicResourceManager.java

ViolationLine
These nested if statements could be combined110 - 113

org/deegree/commons/config/AbstractResourceManager.java

ViolationLine
Too many static imports may lead to messy code36 - 354
Avoid unused imports such as 'java.net.URISyntaxException'48
Overriding method merely calls super199 - 201

org/deegree/commons/dataaccess/CSVReader.java

ViolationLine
These nested if statements could be combined161 - 166
These nested if statements could be combined162 - 165

org/deegree/commons/i18n/Messages.java

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

org/deegree/commons/index/NoOverlapException.java

ViolationLine
Avoid unused constructor parameters such as 'string'.58 - 60

org/deegree/commons/index/QTree.java

ViolationLine
These nested if statements could be combined175 - 188
Avoid unused method parameters such as 'envelope'.628 - 642
These nested if statements could be combined634 - 638
Avoid empty if statements898 - 905

org/deegree/commons/index/RTree.java

ViolationLine
These nested if statements could be combined249 - 251
Avoid unused method parameters such as 'object'.883 - 907
Avoid unused method parameters such as 'insertBox'.883 - 907
These nested if statements could be combined1114 - 1117

org/deegree/commons/jdbc/ConnectionManager.java

ViolationLine
Too many static imports may lead to messy code37 - 416
Avoid unused imports such as 'javax.xml.bind.JAXBException'60

org/deegree/commons/jdbc/InsertRow.java

ViolationLine
Avoid unused imports such as 'org.deegree.commons.utils.JDBCUtils'49

org/deegree/commons/jdbc/param/JDBCParamsManager.java

ViolationLine
Avoid empty catch blocks123 - 125
Avoid empty catch blocks169 - 171
Avoid empty catch blocks181 - 183
Avoid empty catch blocks191 - 193

org/deegree/commons/mail/EMailMessage.java

ViolationLine
Avoid empty catch blocks71 - 73

org/deegree/commons/ows/metadata/Description.java

ViolationLine
Avoid unused private fields such as 'langToKeywords'.88

org/deegree/commons/tom/CombinedReferenceResolver.java

ViolationLine
Avoid empty catch blocks67 - 69

org/deegree/commons/tom/primitive/PrimitiveValue.java

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

org/deegree/commons/tom/primitive/XMLValueMangler.java

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

org/deegree/commons/tom/sql/DefaultPrimitiveConverter.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe319
Avoid using java.lang.ThreadGroup; it is not thread safe322
Avoid empty catch blocks380 - 382
Avoid using java.lang.ThreadGroup; it is not thread safe403
Avoid using java.lang.ThreadGroup; it is not thread safe406

org/deegree/commons/tom/sql/SQLValueMangler.java

ViolationLine
Avoid unused private fields such as 'LOG'.58
Avoid using java.lang.ThreadGroup; it is not thread safe77

org/deegree/commons/tools/ToolBox.java

ViolationLine
These nested if statements could be combined307 - 313
These nested if statements could be combined355 - 357

org/deegree/commons/utils/ArrayUtils.java

ViolationLine
Avoid unused local variables such as 'i'.222
Avoid unused local variables such as 'i'.259

org/deegree/commons/utils/DeegreeAALogoUtils.java

ViolationLine
Avoid empty catch blocks103 - 105
Avoid empty catch blocks120 - 122

org/deegree/commons/utils/FileUtils.java

ViolationLine
These nested if statements could be combined334 - 336

org/deegree/commons/utils/JDBCUtils.java

ViolationLine
Avoid empty catch blocks84 - 86
Avoid empty catch blocks97 - 99
Avoid empty catch blocks111 - 113
Avoid empty catch blocks251 - 253

org/deegree/commons/utils/StringUtils.java

ViolationLine
Avoid empty if statements173 - 175
Avoid empty if statements177 - 179
Avoid empty catch blocks302 - 306

org/deegree/commons/utils/io/Zip.java

ViolationLine
These nested if statements could be combined82 - 84

org/deegree/commons/utils/jaxb/CreateExternalBindings.java

ViolationLine
Avoid unused method parameters such as 'referencedXSD'.133 - 190
These nested if statements could be combined310 - 312

org/deegree/commons/utils/kvp/KVPUtils.java

ViolationLine
Avoid empty catch blocks150 - 152
These nested if statements could be combined180 - 183

org/deegree/commons/utils/net/HttpUtils.java

ViolationLine
Too many static imports may lead to messy code37 - 626

org/deegree/commons/xml/XMLAdapter.java

ViolationLine
Too many static imports may lead to messy code37 - 1515

org/deegree/commons/xml/XPathUtils.java

ViolationLine
Avoid empty catch blocks87 - 89

org/deegree/commons/xml/schema/XMLSchemaInfoSet.java

ViolationLine
Too many static imports may lead to messy code36 - 598
These nested if statements could be combined330 - 351
These nested if statements could be combined332 - 336

org/deegree/commons/xml/stax/CoalescingXMLStreamWriter.java

ViolationLine
Avoid empty if statements188 - 190
Avoid unused method parameters such as 'empty'.219 - 235

org/deegree/commons/xml/stax/StAXExportingHelper.java

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

org/deegree/commons/xml/stax/XMLStreamReaderWrapper.java

ViolationLine
These nested if statements could be combined251 - 254
Avoid empty if statements353 - 355

org/deegree/commons/xml/stax/XMLStreamUtils.java

ViolationLine
Too many static imports may lead to messy code37 - 910
These nested if statements could be combined793 - 795