PMD Results
The following document contains the results of PMD 4.3.
Files
org/deegree/commons/config/AbstractBasicResourceManager.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 110 - 113 | 
org/deegree/commons/config/AbstractResourceManager.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 36 - 354 | 
| Avoid unused imports such as 'java.net.URISyntaxException' | 48 | 
| Overriding method merely calls super | 199 - 201 | 
org/deegree/commons/dataaccess/CSVReader.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 161 - 166 | 
| These nested if statements could be combined | 162 - 165 | 
org/deegree/commons/i18n/Messages.java
| Violation | Line | 
|---|
| Avoid unused private methods such as 'get(Properties,String,Object...)'. | 137 | 
org/deegree/commons/index/NoOverlapException.java
| Violation | Line | 
|---|
| Avoid unused constructor parameters such as 'string'. | 58 - 60 | 
org/deegree/commons/index/QTree.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 175 - 188 | 
| Avoid unused method parameters such as 'envelope'. | 628 - 642 | 
| These nested if statements could be combined | 634 - 638 | 
| Avoid empty if statements | 898 - 905 | 
org/deegree/commons/index/RTree.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 249 - 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 combined | 1114 - 1117 | 
org/deegree/commons/jdbc/ConnectionManager.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 37 - 391 | 
| Avoid unused imports such as 'javax.xml.bind.JAXBException' | 60 | 
| Avoid unused private fields such as 'CONFIG_JAXB_PACKAGE'. | 92 | 
org/deegree/commons/jdbc/InsertRow.java
| Violation | Line | 
|---|
| Avoid unused imports such as 'org.deegree.commons.utils.JDBCUtils' | 49 | 
org/deegree/commons/jdbc/param/JDBCParamsManager.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 112 - 114 | 
org/deegree/commons/mail/EMailMessage.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 71 - 73 | 
org/deegree/commons/ows/metadata/Description.java
| Violation | Line | 
|---|
| Avoid unused private fields such as 'langToKeywords'. | 88 | 
org/deegree/commons/tom/CombinedReferenceResolver.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 67 - 69 | 
org/deegree/commons/tom/primitive/PrimitiveValue.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 36 - 277 | 
org/deegree/commons/tom/primitive/XMLValueMangler.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 36 - 186 | 
org/deegree/commons/tom/sql/DefaultPrimitiveConverter.java
| Violation | Line | 
|---|
| Avoid using java.lang.ThreadGroup; it is not thread safe | 319 | 
| Avoid using java.lang.ThreadGroup; it is not thread safe | 322 | 
| Avoid empty catch blocks | 380 - 382 | 
| Avoid using java.lang.ThreadGroup; it is not thread safe | 403 | 
| Avoid using java.lang.ThreadGroup; it is not thread safe | 406 | 
org/deegree/commons/tom/sql/SQLValueMangler.java
| Violation | Line | 
|---|
| Avoid unused private fields such as 'LOG'. | 58 | 
| Avoid using java.lang.ThreadGroup; it is not thread safe | 77 | 
org/deegree/commons/tools/ToolBox.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 307 - 313 | 
| These nested if statements could be combined | 355 - 357 | 
org/deegree/commons/utils/ArrayUtils.java
| Violation | Line | 
|---|
| Avoid unused local variables such as 'i'. | 222 | 
| Avoid unused local variables such as 'i'. | 259 | 
org/deegree/commons/utils/DeegreeAALogoUtils.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 103 - 105 | 
| Avoid empty catch blocks | 120 - 122 | 
org/deegree/commons/utils/FileUtils.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 334 - 336 | 
org/deegree/commons/utils/JDBCUtils.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 84 - 86 | 
| Avoid empty catch blocks | 97 - 99 | 
| Avoid empty catch blocks | 111 - 113 | 
| Avoid empty catch blocks | 251 - 253 | 
org/deegree/commons/utils/StringUtils.java
| Violation | Line | 
|---|
| Avoid empty if statements | 173 - 175 | 
| Avoid empty if statements | 177 - 179 | 
| Avoid empty catch blocks | 302 - 306 | 
org/deegree/commons/utils/io/Zip.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 82 - 84 | 
org/deegree/commons/utils/jaxb/CreateExternalBindings.java
| Violation | Line | 
|---|
| Avoid unused method parameters such as 'referencedXSD'. | 133 - 190 | 
| These nested if statements could be combined | 310 - 312 | 
org/deegree/commons/utils/kvp/KVPUtils.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 150 - 152 | 
| These nested if statements could be combined | 180 - 183 | 
org/deegree/commons/utils/net/HttpUtils.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 37 - 625 | 
org/deegree/commons/xml/XMLAdapter.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 37 - 1516 | 
org/deegree/commons/xml/XPathUtils.java
| Violation | Line | 
|---|
| Avoid empty catch blocks | 87 - 89 | 
org/deegree/commons/xml/schema/XMLSchemaInfoSet.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 36 - 598 | 
| These nested if statements could be combined | 330 - 351 | 
| These nested if statements could be combined | 332 - 336 | 
org/deegree/commons/xml/stax/CoalescingXMLStreamWriter.java
| Violation | Line | 
|---|
| Avoid empty if statements | 188 - 190 | 
| Avoid unused method parameters such as 'empty'. | 219 - 235 | 
org/deegree/commons/xml/stax/StAXExportingHelper.java
| Violation | Line | 
|---|
| Avoid unused private fields such as 'LOG'. | 58 | 
org/deegree/commons/xml/stax/XMLStreamReaderWrapper.java
| Violation | Line | 
|---|
| These nested if statements could be combined | 251 - 254 | 
| Avoid empty if statements | 353 - 355 | 
org/deegree/commons/xml/stax/XMLStreamUtils.java
| Violation | Line | 
|---|
| Too many static imports may lead to messy code | 37 - 910 | 
| These nested if statements could be combined | 793 - 795 |