PMD Results
The following document contains the results of PMD 4.2.5.
Files
com/philemonworks/selfdiagnose/DiagnosticTaskResult.java
Violation | Line |
---|
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
Violation | Line |
---|
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
Violation | Line |
---|
Avoid empty catch blocks | 122 |
com/philemonworks/selfdiagnose/check/CheckDatabaseTableExists.java
Violation | Line |
---|
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. | 106 |
com/philemonworks/selfdiagnose/check/CheckMBeanProperty.java
Violation | Line |
---|
Avoid unused imports such as 'javax.management.MBeanServerBuilder' | 24 |
com/philemonworks/selfdiagnose/check/vendor/CheckSpringDatasourceConnectable.java
Violation | Line |
---|
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
Violation | Line |
---|
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
Violation | Line |
---|
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
Violation | Line |
---|
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
Violation | Line |
---|
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
Violation | Line |
---|
Avoid empty catch blocks | 135 - 136 |
com/philemonworks/selfdiagnose/output/LoggingReporter.java
Violation | Line |
---|
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
Violation | Line |
---|
Avoid unused imports such as 'java.util.Properties' | 7 |
com/philemonworks/selfdiagnose/report/ReportMavenPOMProperties.java
Violation | Line |
---|
Avoid unused imports such as 'java.net.URL' | 7 |
Avoid unused imports such as 'com.philemonworks.selfdiagnose.SelfDiagnoseServlet' | 13 |
Avoid returning from a finally block | 88 |
com/philemonworks/selfdiagnose/report/vendor/ReportJamonMonitors.java
Violation | Line |
---|
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 |