PMD Results

The following document contains the results of PMD.

Summary

Files Errors
28 45

Files

Files Violations
org/apache/turbine/Turbine.java 4
org/apache/turbine/modules/pages/JspPage.java 2
org/apache/turbine/modules/screens/TemplateScreen.java 1
org/apache/turbine/om/security/TurbineUser.java 2
org/apache/turbine/pipeline/CleanUpValve.java 1
org/apache/turbine/pipeline/DefaultACLCreationValve.java 1
org/apache/turbine/pipeline/DefaultSessionValidationValve.java 1
org/apache/turbine/pipeline/ExecutePageValve.java 3
org/apache/turbine/pipeline/Valve.java 1
org/apache/turbine/services/jsp/TurbineJspService.java 1
org/apache/turbine/services/jsp/util/JspNavigation.java 1
org/apache/turbine/services/jsp/util/JspScreenPlaceholder.java 1
org/apache/turbine/services/naming/TurbineNamingService.java 2
org/apache/turbine/services/pull/TurbinePull.java 1
org/apache/turbine/services/security/ldap/LDAPUser.java 1
org/apache/turbine/services/security/ldap/LDAPUserManager.java 1
org/apache/turbine/services/servlet/TurbineServletService.java 1
org/apache/turbine/services/template/TurbineTemplateService.java 2
org/apache/turbine/services/template/mapper/ClassMapper.java 1
org/apache/turbine/services/velocity/TurbineVelocityService.java 3
org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java 1
org/apache/turbine/services/xmlrpc/util/FileHandler.java 3
org/apache/turbine/services/xmlrpc/util/FileTransfer.java 2
org/apache/turbine/util/BrowserDetector.java 3
org/apache/turbine/util/ObjectUtils.java 2
org/apache/turbine/util/RunDataFactory.java 1
org/apache/turbine/util/template/TemplateInfo.java 1
org/apache/turbine/util/velocity/VelocityActionEvent.java 1

org/apache/turbine/Turbine.java

Violation Line
Avoid unused local variables such as 'requestRedirected' 618
Avoid empty catch blocks 763
Avoid empty catch blocks 772
Avoid empty catch blocks 797

org/apache/turbine/modules/pages/JspPage.java

Violation Line
Avoid empty catch blocks 54
Avoid empty catch blocks 76

org/apache/turbine/modules/screens/TemplateScreen.java

Violation Line
Avoid empty catch blocks 217

org/apache/turbine/om/security/TurbineUser.java

Violation Line
Avoid empty catch blocks 272
Avoid empty catch blocks 292

org/apache/turbine/pipeline/CleanUpValve.java

Violation Line
Avoid empty catch blocks 91

org/apache/turbine/pipeline/DefaultACLCreationValve.java

Violation Line
Avoid unused imports such as 'RunData' 27

org/apache/turbine/pipeline/DefaultSessionValidationValve.java

Violation Line
Avoid unused imports such as 'RunData' 27

org/apache/turbine/pipeline/ExecutePageValve.java

Violation Line
No need to import a type that's in the same package 28
No need to import a type that's in the same package 29
No need to import a type that's in the same package 30

org/apache/turbine/pipeline/Valve.java

Violation Line
Avoid unused imports such as 'RunData' 23

org/apache/turbine/services/jsp/TurbineJspService.java

Violation Line
Avoid empty catch blocks 203

org/apache/turbine/services/jsp/util/JspNavigation.java

Violation Line
Avoid empty catch blocks 86

org/apache/turbine/services/jsp/util/JspScreenPlaceholder.java

Violation Line
Avoid empty catch blocks 86

org/apache/turbine/services/naming/TurbineNamingService.java

Violation Line
Avoid unused imports such as 'PipelineData' 35
Avoid unused imports such as 'RunData' 38

org/apache/turbine/services/pull/TurbinePull.java

Violation Line
Avoid empty catch blocks 191

org/apache/turbine/services/security/ldap/LDAPUser.java

Violation Line
Avoid empty try blocks 106

org/apache/turbine/services/security/ldap/LDAPUserManager.java

Violation Line
Avoid unused local variables such as 'ldapUser' 105

org/apache/turbine/services/servlet/TurbineServletService.java

Violation Line
Avoid empty catch blocks 126

org/apache/turbine/services/template/TurbineTemplateService.java

Violation Line
Avoid unused imports such as 'PoolService' 36
Avoid unused imports such as 'TurbineException' 58

org/apache/turbine/services/template/mapper/ClassMapper.java

Violation Line
Avoid empty catch blocks 152

org/apache/turbine/services/velocity/TurbineVelocityService.java

Violation Line
Avoid empty catch blocks 341
Avoid empty catch blocks 386
Avoid empty catch blocks 426

org/apache/turbine/services/xmlrpc/TurbineXmlRpcService.java

Violation Line
Avoid empty catch blocks 243

org/apache/turbine/services/xmlrpc/util/FileHandler.java

Violation Line
Avoid unused local variables such as 'tmpF' 180
Avoid empty catch blocks 236
Avoid empty catch blocks 322

org/apache/turbine/services/xmlrpc/util/FileTransfer.java

Violation Line
Avoid unused local variables such as 'b' 80
Avoid unused local variables such as 'b' 134

org/apache/turbine/util/BrowserDetector.java

Violation Line
Avoid empty catch blocks 203
Avoid empty catch blocks 222
Avoid empty catch blocks 254

org/apache/turbine/util/ObjectUtils.java

Violation Line
Avoid empty catch blocks 162
Avoid empty catch blocks 182

org/apache/turbine/util/RunDataFactory.java

Violation Line
Avoid empty catch blocks 188

org/apache/turbine/util/template/TemplateInfo.java

Violation Line
Avoid empty catch blocks 124

org/apache/turbine/util/velocity/VelocityActionEvent.java

Violation Line
Avoid unused local variables such as 'data' 130