PMD Results

The following document contains the results of PMD 4.2.5.

Files

com/philemonworks/selfdiagnose/DiagnosticTaskResult.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/DiagnosticTaskResult.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/DiagnosticTaskResult.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/DiagnosticTaskResult.java: Can't use generics unless running in JDK 1.5 mode!0

com/philemonworks/selfdiagnose/SelfDiagnose.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/SelfDiagnose.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/SelfDiagnose.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/SelfDiagnose.java: Can't use generics unless running in JDK 1.5 mode!0

com/philemonworks/selfdiagnose/SelfDiagnoseServlet.java

ViolationLine
Avoid empty catch blocks122

com/philemonworks/selfdiagnose/check/CheckDatabaseTableExists.java

ViolationLine
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet.106

com/philemonworks/selfdiagnose/check/CheckMBeanProperty.java

ViolationLine
Avoid unused imports such as 'javax.management.MBeanServerBuilder'24

com/philemonworks/selfdiagnose/check/vendor/CheckSpringDatasourceConnectable.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/CheckSpringDatasourceConnectable.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/CheckSpringDatasourceConnectable.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/CheckSpringDatasourceConnectable.java: Can't use annotations when running in JDK 1.4 mode!0

com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseController.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseController.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseController.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseController.java: Can't use annotations when running in JDK 1.4 mode!0

com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseResource.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseResource.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseResource.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SelfDiagnoseResource.java: Can't use annotations when running in JDK 1.4 mode!0

com/philemonworks/selfdiagnose/check/vendor/SpringApplicationContextInjector.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SpringApplicationContextInjector.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SpringApplicationContextInjector.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/check/vendor/SpringApplicationContextInjector.java: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode!0

com/philemonworks/selfdiagnose/output/DiagnoseRun.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/output/DiagnoseRun.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/output/DiagnoseRun.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/output/DiagnoseRun.java: Can't use generics unless running in JDK 1.5 mode!0

com/philemonworks/selfdiagnose/output/HTMLReporter.java

ViolationLine
Avoid empty catch blocks135 - 136

com/philemonworks/selfdiagnose/output/LoggingReporter.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/output/LoggingReporter.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/output/LoggingReporter.java: Can't use generics unless running in JDK 1.5 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/output/LoggingReporter.java: Can't use generics unless running in JDK 1.5 mode!0

com/philemonworks/selfdiagnose/report/ReportMap.java

ViolationLine
Avoid unused imports such as 'java.util.Properties'7

com/philemonworks/selfdiagnose/report/ReportMavenPOMProperties.java

ViolationLine
Avoid unused imports such as 'java.net.URL'7
Avoid unused imports such as 'com.philemonworks.selfdiagnose.SelfDiagnoseServlet'13
Avoid returning from a finally block88

com/philemonworks/selfdiagnose/report/vendor/ReportJamonMonitors.java

ViolationLine
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/report/vendor/ReportJamonMonitors.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/report/vendor/ReportJamonMonitors.java: Can't use annotations when running in JDK 1.4 mode!0
Error while parsing /Users/ernest/Projects/selfdiagnose/src/main/java/com/philemonworks/selfdiagnose/report/vendor/ReportJamonMonitors.java: Can't use annotations when running in JDK 1.4 mode!0