PMD Results

The following document contains the results of PMD 4.2.2.

Files

org/apache/struts/faces/application/FacesRequestProcessor.java

Violation Line
These nested if statements could be combined 400 - 405

org/apache/struts/faces/application/FacesTilesRequestProcessor.java

Violation Line
These nested if statements could be combined 414 - 419

org/apache/struts/faces/application/PropertyResolverImpl.java

Violation Line
An empty statement (semicolon) not part of a loop 400

org/apache/struts/faces/component/FormComponent.java

Violation Line
Avoid unused local variables such as 'session'. 479

org/apache/struts/faces/renderer/AbstractRenderer.java

Violation Line
Avoid unused imports such as 'javax.faces.application.FacesMessage' 29

org/apache/struts/faces/renderer/BaseRenderer.java

Violation Line
An empty statement (semicolon) not part of a loop 163
An empty statement (semicolon) not part of a loop 165
An empty statement (semicolon) not part of a loop 197
An empty statement (semicolon) not part of a loop 200

org/apache/struts/faces/renderer/CommandLinkRenderer.java

Violation Line
Avoid unused imports such as 'javax.faces.component.UICommand' 29
Avoid unused imports such as 'org.apache.struts.Globals' 39
Avoid unused imports such as 'org.apache.struts.config.ActionConfig' 40
Avoid unused imports such as 'org.apache.struts.config.ModuleConfig' 41

org/apache/struts/faces/renderer/HtmlRenderer.java

Violation Line
Avoid unused private fields such as 'log'. 52

org/apache/struts/faces/renderer/MessageRenderer.java

Violation Line
Avoid unused private fields such as 'log'. 56

org/apache/struts/faces/renderer/StylesheetRenderer.java

Violation Line
Avoid unused private fields such as 'log'. 51

org/apache/struts/faces/taglib/CommandLinkTag.java

Violation Line
These nested if statements could be combined 306 - 311

org/apache/struts/faces/taglib/JavascriptValidatorTag.java

Violation Line
These nested if statements could be combined 778 - 783

org/apache/struts/faces/util/StrutsContext.java

Violation Line
Avoid unused imports such as 'javax.sql.DataSource' 31