PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/struts/faces/application/FacesRequestProcessor.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 357–360 |
org/apache/struts/faces/application/FacesTilesRequestProcessor.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 417–422 |
org/apache/struts/faces/renderer/AbstractRenderer.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 664 |
org/apache/struts/faces/util/StrutsContext.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 377–382 |
EmptyControlStatement | Empty if statement | 378–382 |
Priority 4
org/apache/struts/faces/application/ActionListenerImpl.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 222 |
org/apache/struts/faces/application/DynaActionFormELResolver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 164 |
org/apache/struts/faces/application/DynaBeanELResolver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 454 |
org/apache/struts/faces/application/FacesRequestProcessor.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 172 |
UselessParentheses | Useless parentheses. | 206 |
UselessParentheses | Useless parentheses. | 228 |
UselessParentheses | Useless parentheses. | 243 |
UselessParentheses | Useless parentheses. | 271 |
UselessParentheses | Useless parentheses. | 299 |
UselessParentheses | Useless parentheses. | 310 |
UselessParentheses | Useless parentheses. | 377 |
UselessParentheses | Useless parentheses. | 409 |
UselessParentheses | Useless parentheses. | 411 |
UselessParentheses | Useless parentheses. | 413 |
UselessParentheses | Useless parentheses. | 415 |
org/apache/struts/faces/application/FacesTilesRequestProcessor.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 205 |
UselessParentheses | Useless parentheses. | 241 |
UselessParentheses | Useless parentheses. | 266 |
UselessParentheses | Useless parentheses. | 285 |
UselessParentheses | Useless parentheses. | 321 |
UselessParentheses | Useless parentheses. | 351 |
UselessParentheses | Useless parentheses. | 364 |
UselessParentheses | Useless parentheses. | 371 |
UselessParentheses | Useless parentheses. | 443 |
UselessParentheses | Useless parentheses. | 475 |
UselessParentheses | Useless parentheses. | 477 |
UselessParentheses | Useless parentheses. | 479 |
UselessParentheses | Useless parentheses. | 481 |
org/apache/struts/faces/component/FormComponent.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 90 |
UselessParentheses | Useless parentheses. | 94 |
UselessParentheses | Useless parentheses. | 96 |
UselessParentheses | Useless parentheses. | 120 |
UselessParentheses | Useless parentheses. | 124 |
UselessParentheses | Useless parentheses. | 126 |
UselessParentheses | Useless parentheses. | 160 |
UselessParentheses | Useless parentheses. | 164 |
UselessParentheses | Useless parentheses. | 166 |
UselessParentheses | Useless parentheses. | 190 |
UselessParentheses | Useless parentheses. | 194 |
UselessParentheses | Useless parentheses. | 196 |
UselessParentheses | Useless parentheses. | 220 |
UselessParentheses | Useless parentheses. | 224 |
UselessParentheses | Useless parentheses. | 226 |
UselessParentheses | Useless parentheses. | 250 |
UselessParentheses | Useless parentheses. | 254 |
UselessParentheses | Useless parentheses. | 256 |
UselessParentheses | Useless parentheses. | 426 |
org/apache/struts/faces/renderer/CommandLinkRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 82 |
UselessParentheses | Useless parentheses. | 82 |
UselessParentheses | Useless parentheses. | 110 |
org/apache/struts/faces/renderer/ErrorsRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 97 |
UselessParentheses | Useless parentheses. | 210–211 |
org/apache/struts/faces/renderer/FormRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 79 |
UselessParentheses | Useless parentheses. | 79 |
UselessParentheses | Useless parentheses. | 114 |
UselessParentheses | Useless parentheses. | 114 |
UselessParentheses | Useless parentheses. | 202 |
UselessParentheses | Useless parentheses. | 202 |
UselessParentheses | Useless parentheses. | 295 |
org/apache/struts/faces/renderer/HtmlRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 66 |
UselessParentheses | Useless parentheses. | 66 |
UselessParentheses | Useless parentheses. | 74 |
UselessParentheses | Useless parentheses. | 74 |
UselessParentheses | Useless parentheses. | 74 |
UselessParentheses | Useless parentheses. | 107 |
UselessParentheses | Useless parentheses. | 107 |
UselessParentheses | Useless parentheses. | 145 |
UselessParentheses | Useless parentheses. | 149 |
org/apache/struts/faces/renderer/MessageRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 111 |
UselessParentheses | Useless parentheses. | 113 |
org/apache/struts/faces/renderer/StylesheetRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 63 |
UselessParentheses | Useless parentheses. | 63 |
org/apache/struts/faces/renderer/WriteRenderer.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 74 |
UselessParentheses | Useless parentheses. | 74 |
UselessParentheses | Useless parentheses. | 80 |
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 110 |
UselessParentheses | Useless parentheses. | 110 |
UselessParentheses | Useless parentheses. | 110 |
UselessParentheses | Useless parentheses. | 136 |
UselessParentheses | Useless parentheses. | 138 |
org/apache/struts/faces/taglib/BaseTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 63 |
UselessParentheses | Useless parentheses. | 74 |
org/apache/struts/faces/taglib/CommandLinkTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 267 |
UselessParentheses | Useless parentheses. | 278 |
org/apache/struts/faces/taglib/ErrorsTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 63 |
UselessParentheses | Useless parentheses. | 74 |
org/apache/struts/faces/taglib/FormTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 146 |
UselessParentheses | Useless parentheses. | 157 |
org/apache/struts/faces/taglib/HtmlTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 75 |
UselessParentheses | Useless parentheses. | 91 |
UselessParentheses | Useless parentheses. | 102 |
org/apache/struts/faces/taglib/JavascriptValidatorTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 206 |
UselessParentheses | Useless parentheses. | 217 |
org/apache/struts/faces/taglib/MessageTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 100 |
org/apache/struts/faces/taglib/StylesheetTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 64 |
UselessParentheses | Useless parentheses. | 75 |
org/apache/struts/faces/taglib/WriteTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 65 |
UselessParentheses | Useless parentheses. | 76 |
org/apache/struts/faces/util/MessagesMap.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 141 |
org/apache/struts/faces/util/StrutsContext.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 378 |
Files
org/apache/struts/faces/application/ActionListenerImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 222 |
org/apache/struts/faces/application/DynaActionFormELResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 164 |
org/apache/struts/faces/application/DynaBeanELResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 454 |
org/apache/struts/faces/application/FacesRequestProcessor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 172 |
UselessParentheses | Useless parentheses. | 4 | 206 |
UselessParentheses | Useless parentheses. | 4 | 228 |
UselessParentheses | Useless parentheses. | 4 | 243 |
UselessParentheses | Useless parentheses. | 4 | 271 |
UselessParentheses | Useless parentheses. | 4 | 299 |
UselessParentheses | Useless parentheses. | 4 | 310 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 357–360 |
UselessParentheses | Useless parentheses. | 4 | 377 |
UselessParentheses | Useless parentheses. | 4 | 409 |
UselessParentheses | Useless parentheses. | 4 | 411 |
UselessParentheses | Useless parentheses. | 4 | 413 |
UselessParentheses | Useless parentheses. | 4 | 415 |
org/apache/struts/faces/application/FacesTilesRequestProcessor.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 205 |
UselessParentheses | Useless parentheses. | 4 | 241 |
UselessParentheses | Useless parentheses. | 4 | 266 |
UselessParentheses | Useless parentheses. | 4 | 285 |
UselessParentheses | Useless parentheses. | 4 | 321 |
UselessParentheses | Useless parentheses. | 4 | 351 |
UselessParentheses | Useless parentheses. | 4 | 364 |
UselessParentheses | Useless parentheses. | 4 | 371 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 417–422 |
UselessParentheses | Useless parentheses. | 4 | 443 |
UselessParentheses | Useless parentheses. | 4 | 475 |
UselessParentheses | Useless parentheses. | 4 | 477 |
UselessParentheses | Useless parentheses. | 4 | 479 |
UselessParentheses | Useless parentheses. | 4 | 481 |
org/apache/struts/faces/component/FormComponent.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 90 |
UselessParentheses | Useless parentheses. | 4 | 94 |
UselessParentheses | Useless parentheses. | 4 | 96 |
UselessParentheses | Useless parentheses. | 4 | 120 |
UselessParentheses | Useless parentheses. | 4 | 124 |
UselessParentheses | Useless parentheses. | 4 | 126 |
UselessParentheses | Useless parentheses. | 4 | 160 |
UselessParentheses | Useless parentheses. | 4 | 164 |
UselessParentheses | Useless parentheses. | 4 | 166 |
UselessParentheses | Useless parentheses. | 4 | 190 |
UselessParentheses | Useless parentheses. | 4 | 194 |
UselessParentheses | Useless parentheses. | 4 | 196 |
UselessParentheses | Useless parentheses. | 4 | 220 |
UselessParentheses | Useless parentheses. | 4 | 224 |
UselessParentheses | Useless parentheses. | 4 | 226 |
UselessParentheses | Useless parentheses. | 4 | 250 |
UselessParentheses | Useless parentheses. | 4 | 254 |
UselessParentheses | Useless parentheses. | 4 | 256 |
UselessParentheses | Useless parentheses. | 4 | 426 |
org/apache/struts/faces/renderer/AbstractRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
SimplifiedTernary | Ternary operators that can be simplified with || or && | 3 | 664 |
org/apache/struts/faces/renderer/CommandLinkRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 82 |
UselessParentheses | Useless parentheses. | 4 | 82 |
UselessParentheses | Useless parentheses. | 4 | 110 |
org/apache/struts/faces/renderer/ErrorsRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 97 |
UselessParentheses | Useless parentheses. | 4 | 210–211 |
org/apache/struts/faces/renderer/FormRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 79 |
UselessParentheses | Useless parentheses. | 4 | 79 |
UselessParentheses | Useless parentheses. | 4 | 114 |
UselessParentheses | Useless parentheses. | 4 | 114 |
UselessParentheses | Useless parentheses. | 4 | 202 |
UselessParentheses | Useless parentheses. | 4 | 202 |
UselessParentheses | Useless parentheses. | 4 | 295 |
org/apache/struts/faces/renderer/HtmlRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 66 |
UselessParentheses | Useless parentheses. | 4 | 66 |
UselessParentheses | Useless parentheses. | 4 | 74 |
UselessParentheses | Useless parentheses. | 4 | 74 |
UselessParentheses | Useless parentheses. | 4 | 74 |
UselessParentheses | Useless parentheses. | 4 | 107 |
UselessParentheses | Useless parentheses. | 4 | 107 |
UselessParentheses | Useless parentheses. | 4 | 145 |
UselessParentheses | Useless parentheses. | 4 | 149 |
org/apache/struts/faces/renderer/MessageRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 111 |
UselessParentheses | Useless parentheses. | 4 | 113 |
org/apache/struts/faces/renderer/StylesheetRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 63 |
UselessParentheses | Useless parentheses. | 4 | 63 |
org/apache/struts/faces/renderer/WriteRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 74 |
UselessParentheses | Useless parentheses. | 4 | 74 |
UselessParentheses | Useless parentheses. | 4 | 80 |
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 110 |
UselessParentheses | Useless parentheses. | 4 | 110 |
UselessParentheses | Useless parentheses. | 4 | 110 |
UselessParentheses | Useless parentheses. | 4 | 136 |
UselessParentheses | Useless parentheses. | 4 | 138 |
org/apache/struts/faces/taglib/BaseTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 63 |
UselessParentheses | Useless parentheses. | 4 | 74 |
org/apache/struts/faces/taglib/CommandLinkTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 267 |
UselessParentheses | Useless parentheses. | 4 | 278 |
org/apache/struts/faces/taglib/ErrorsTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 63 |
UselessParentheses | Useless parentheses. | 4 | 74 |
org/apache/struts/faces/taglib/FormTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 146 |
UselessParentheses | Useless parentheses. | 4 | 157 |
org/apache/struts/faces/taglib/HtmlTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 75 |
UselessParentheses | Useless parentheses. | 4 | 91 |
UselessParentheses | Useless parentheses. | 4 | 102 |
org/apache/struts/faces/taglib/JavascriptValidatorTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 206 |
UselessParentheses | Useless parentheses. | 4 | 217 |
org/apache/struts/faces/taglib/MessageTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 100 |
org/apache/struts/faces/taglib/StylesheetTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 64 |
UselessParentheses | Useless parentheses. | 4 | 75 |
org/apache/struts/faces/taglib/WriteTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 65 |
UselessParentheses | Useless parentheses. | 4 | 76 |
org/apache/struts/faces/util/MessagesMap.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 141 |
org/apache/struts/faces/util/StrutsContext.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 377–382 |
EmptyControlStatement | Empty if statement | 3 | 378–382 |
UselessParentheses | Useless parentheses. | 4 | 378 |