PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMockTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMultipleRequestsTestCase.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMultipleRequestsTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfConfigurableMultipleRequestsTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/base/junit4/AbstractJsfTestCase.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/base/junit4/AbstractJsfTestCase.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/config/ConfigParser.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/config/ConfigParser.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/config/ConfigParser.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/MockApplication20.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockApplication20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockApplication20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockExceptionHandler.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandler.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandler.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockExceptionHandlerFactory.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandlerFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockExceptionHandlerFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/MockExternalContext20.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockExternalContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockFacesContext20.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockFacesContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockFacesContext20.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockFlash.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockFlash.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockFlash.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockPartialViewContext.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockPartialViewContextFactory.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockPartialViewContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/MockResponseStateManager.java
| Violation | Line |
|---|---|
| These nested if statements could be combined | 111 - 114 |
| Avoid unused method parameters such as 'facesContext'. | 159 - 204 |
| Avoid empty catch blocks | 180 - 182 |
| Avoid empty catch blocks | 194 - 196 |
| Avoid unused method parameters such as 'facesContext'. | 206 - 265 |
| Avoid empty catch blocks | 241 - 243 |
| Avoid empty catch blocks | 255 - 257 |
| These nested if statements could be combined | 360 - 363 |
org/apache/myfaces/test/mock/MockSubKeyMap.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockSubKeyMap.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockSubKeyMap.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/MockViewHandler20.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockViewHandler20.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/MockViewHandler20.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/_ELText.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/_ELText.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/_ELText.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockClassLoaderResourceLoader.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockClassLoaderResourceLoader.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockClassLoaderResourceLoader.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockExternalContextResourceLoader.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockExternalContextResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockExternalContextResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockResource.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockResourceHandler.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockResourceLoader.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockResourceLoader.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockSimpleResource.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResource.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/resource/MockSimpleResourceHandler.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/resource/MockSimpleResourceHandler.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/visit/FullVisitContext.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/FullVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/FullVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/visit/MockVisitContext.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
org/apache/myfaces/test/mock/visit/MockVisitContextFactory.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/MockVisitContextFactory.java: Can't use annotations when running in JDK 1.4 mode! | 0 |
org/apache/myfaces/test/mock/visit/PartialVisitContext.java
| Violation | Line |
|---|---|
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/PartialVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |
| Error while parsing /home/lu4242/workspace/test_1_0_4/myfaces-test-project-1.0.4/test20/src/main/java/org/apache/myfaces/test/mock/visit/PartialVisitContext.java: Can't use generics unless running in JDK 1.5 mode! | 0 |