PMD Results
The following document contains the results of PMD 4.2.2.
Files
org/apache/struts/tiles/commands/TilesPreProcessor.java
Violation |
Line |
Avoid unused imports such as 'javax.servlet.http.HttpServletRequest' |
27 |
Avoid unused imports such as 'org.apache.struts.upload.MultipartRequestWrapper' |
43 |
org/apache/struts/tiles/DefinitionsFactoryConfig.java
Violation |
Line |
Avoid unused constructor parameters such as 'initParameters'. |
126 - 128 |
org/apache/struts/tiles/RedeployableActionServlet.java
Violation |
Line |
No need to import a type that lives in the same package |
29 |
No need to import a type that lives in the same package |
30 |
No need to import a type that lives in the same package |
31 |
org/apache/struts/tiles/taglib/ImportAttributeTag.java
Violation |
Line |
These nested if statements could be combined |
194 - 197 |
org/apache/struts/tiles/taglib/InsertTag.java
Violation |
Line |
Avoid empty catch blocks |
721 - 723 |
org/apache/struts/tiles/xmlDefinition/I18nFactorySet.java
Violation |
Line |
Avoid empty catch blocks |
211 - 213 |
Avoid empty catch blocks |
483 - 484 |
Do not use if statements that are always true or always false |
504 |