Apache MyFaces
UI-Component Sets
Foundation

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/trunk/current/test/test12/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/trunk/current/test/test12/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/AbstractJsfTestCase.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/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/trunk/current/test/test12/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/ResourceBundleVarNames.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/config/ResourceBundleVarNames.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/config/ResourceBundleVarNames.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/el/ExpressionTokenizer.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/ExpressionTokenizer.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/ExpressionTokenizer.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/el/FacesImplicitObjectELResolver.java

Violation Line
Avoid unused local variables such as 'fcontext'. 102

org/apache/myfaces/test/el/FacesPropertyResolverChainWrapper.java

Violation Line
Avoid unused local variables such as 'elContext'. 93
Avoid unused local variables such as 'elContext'. 146
Avoid unused local variables such as 'elContext'. 198
Avoid unused local variables such as 'elContext'. 252

org/apache/myfaces/test/el/FacesResourceBundleELResolver.java

Violation Line
Avoid unused local variables such as 'value'. 85

org/apache/myfaces/test/el/FacesScopedAttributeELResolver.java

Violation Line
Avoid unused local variables such as 'map'. 82
Avoid unused local variables such as 'result'. 245

org/apache/myfaces/test/el/FacesVariableResolverChainWrapper.java

Violation Line
Avoid unused local variables such as 'econtext'. 115
Avoid unused local variables such as 'elContext'. 118

org/apache/myfaces/test/el/MockCompositeValueExpression.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/MockCompositeValueExpression.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/MockCompositeValueExpression.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/el/MockExpressionFactory.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/MockExpressionFactory.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/MockExpressionFactory.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/el/ReservedWordsELResolver.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/ReservedWordsELResolver.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/el/ReservedWordsELResolver.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/htmlunit/junit4/AbstractHtmlUnitTestCase.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/htmlunit/junit4/AbstractHtmlUnitTestCase.java: Can't use annotations when running in JDK 1.4 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/htmlunit/junit4/AbstractHtmlUnitTestCase.java: Can't use annotations when running in JDK 1.4 mode! 0

org/apache/myfaces/test/mock/MockFacesContext.java

Violation Line
Avoid unused private fields such as 'lifecycle'. 112

org/apache/myfaces/test/mock/MockHttpServletRequest.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockHttpServletRequest.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockHttpServletRequest.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/MockHttpServletResponse.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockHttpServletResponse.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockHttpServletResponse.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/MockHttpSession.java

Violation Line
Avoid unused private fields such as 'webContainer'. 120

org/apache/myfaces/test/mock/MockHttpSessionProxy.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockHttpSessionProxy.java: Can't use annotations when running in JDK 1.4 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockHttpSessionProxy.java: Can't use annotations when running in JDK 1.4 mode! 0

org/apache/myfaces/test/mock/MockMethodBinding.java

Violation Line
Avoid unused private fields such as 'application'. 93
These nested if statements could be combined 227 - 230
These nested if statements could be combined 246 - 249

org/apache/myfaces/test/mock/MockPortletContext.java

Violation Line
Avoid empty catch blocks 248 - 250

org/apache/myfaces/test/mock/MockResponseStateManager.java

Violation Line
These nested if statements could be combined 128 - 131
Avoid unused method parameters such as 'facesContext'. 176 - 221
Avoid empty catch blocks 197 - 199
Avoid empty catch blocks 211 - 213
Avoid unused method parameters such as 'facesContext'. 223 - 283
Avoid empty catch blocks 259 - 261
Avoid empty catch blocks 273 - 275

org/apache/myfaces/test/mock/MockResponseWriter.java

Violation Line
These nested if statements could be combined 410 - 422

org/apache/myfaces/test/mock/MockServletContext.java

Violation Line
Avoid empty catch blocks 278 - 281

org/apache/myfaces/test/mock/MockValueBinding.java

Violation Line
These nested if statements could be combined 69 - 72

org/apache/myfaces/test/mock/MockWebContainer.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockWebContainer.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/MockWebContainer.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_AbstractAttributeMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_AbstractAttributeMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_AbstractAttributeMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_ApplicationMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_ApplicationMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_ApplicationMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_CookieMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_CookieMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_CookieMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_InitParameterMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_InitParameterMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_InitParameterMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_NullEnumeration.java

Violation Line
Unnecessary final modifier in final class 35 - 38

org/apache/myfaces/test/mock/_RequestHeaderMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestHeaderMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestHeaderMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_RequestHeaderValuesMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestHeaderValuesMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestHeaderValuesMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_RequestMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_RequestParameterMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestParameterMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestParameterMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_RequestParameterValuesMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestParameterValuesMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_RequestParameterValuesMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/_SessionMap.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_SessionMap.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/mock/_SessionMap.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/mock/lifecycle/MockLifecycle.java

Violation Line
Avoid unused method parameters such as 'before'. 179 - 188
Avoid unused method parameters such as 'phase'. 179 - 188
Avoid unused method parameters such as 'before'. 190 - 199
Avoid unused method parameters such as 'phase'. 190 - 199

org/apache/myfaces/test/mock/lifecycle/RestoreViewExecutor.java

Violation Line
Avoid empty if statements 65 - 67
Avoid unused private methods such as 'deriveViewId(FacesContext)'. 153

org/apache/myfaces/test/runners/NamedRunner.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/runners/NamedRunner.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/runners/NamedRunner.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/runners/TestClassLoader.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/runners/TestClassLoader.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/runners/TestClassLoader.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/runners/TestPerClassLoaderRunner.java

Violation Line
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/runners/TestPerClassLoaderRunner.java: Can't use generics unless running in JDK 1.5 mode! 0
Error while parsing /home/lu4242/workspace/trunk/current/test/test12/src/main/java/org/apache/myfaces/test/runners/TestPerClassLoaderRunner.java: Can't use generics unless running in JDK 1.5 mode! 0

org/apache/myfaces/test/util/JsfVersion.java

Violation Line
Avoid empty catch blocks 42 - 45
Avoid empty catch blocks 48 - 51