PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/struts/webapp/example2/RegistrationBacking.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'context'. | 130 |
Priority 4
org/apache/struts/webapp/example2/ApplicationMapping.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 72 |
UselessParentheses | Useless parentheses. | 94 |
org/apache/struts/webapp/example2/CheckLogonTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 67 |
UselessParentheses | Useless parentheses. | 89 |
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 133 |
UselessParentheses | Useless parentheses. | 133 |
UselessParentheses | Useless parentheses. | 138 |
UselessParentheses | Useless parentheses. | 145 |
org/apache/struts/webapp/example2/EditRegistrationAction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 106 |
UselessParentheses | Useless parentheses. | 147 |
UselessParentheses | Useless parentheses. | 149 |
org/apache/struts/webapp/example2/EditSubscriptionAction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 105 |
UselessParentheses | Useless parentheses. | 111 |
UselessParentheses | Useless parentheses. | 114 |
UselessParentheses | Useless parentheses. | 152 |
org/apache/struts/webapp/example2/LinkSubscriptionTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 75 |
UselessParentheses | Useless parentheses. | 85 |
org/apache/struts/webapp/example2/LinkUserTag.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 82 |
UselessParentheses | Useless parentheses. | 104 |
UselessParentheses | Useless parentheses. | 169 |
UselessParentheses | Useless parentheses. | 192 |
org/apache/struts/webapp/example2/LoggedOff.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 67 |
UselessParentheses | Useless parentheses. | 80 |
org/apache/struts/webapp/example2/LoggedOn.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 67 |
org/apache/struts/webapp/example2/LogoffAction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 101 |
org/apache/struts/webapp/example2/LogonAction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 105 |
UselessParentheses | Useless parentheses. | 115 |
UselessParentheses | Useless parentheses. | 133 |
UselessParentheses | Useless parentheses. | 164 |
org/apache/struts/webapp/example2/LogonForm.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 72 |
UselessParentheses | Useless parentheses. | 94 |
UselessParentheses | Useless parentheses. | 142 |
UselessParentheses | Useless parentheses. | 142 |
UselessParentheses | Useless parentheses. | 144 |
UselessParentheses | Useless parentheses. | 144 |
org/apache/struts/webapp/example2/RegistrationBacking.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 52 |
UselessParentheses | Useless parentheses. | 53 |
UselessParentheses | Useless parentheses. | 72 |
UselessParentheses | Useless parentheses. | 94 |
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 133 |
org/apache/struts/webapp/example2/RegistrationForm.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 114 |
UselessParentheses | Useless parentheses. | 136 |
UselessParentheses | Useless parentheses. | 158 |
UselessParentheses | Useless parentheses. | 180 |
UselessParentheses | Useless parentheses. | 202 |
UselessParentheses | Useless parentheses. | 224 |
UselessParentheses | Useless parentheses. | 246 |
UselessParentheses | Useless parentheses. | 302 |
UselessParentheses | Useless parentheses. | 302 |
UselessParentheses | Useless parentheses. | 302 |
UselessParentheses | Useless parentheses. | 303 |
UselessParentheses | Useless parentheses. | 303 |
UselessParentheses | Useless parentheses. | 303 |
UselessParentheses | Useless parentheses. | 304–305 |
UselessParentheses | Useless parentheses. | 304 |
UselessParentheses | Useless parentheses. | 304 |
org/apache/struts/webapp/example2/SaveRegistrationAction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 107 |
UselessParentheses | Useless parentheses. | 110 |
UselessParentheses | Useless parentheses. | 118 |
UselessParentheses | Useless parentheses. | 134 |
UselessParentheses | Useless parentheses. | 135 |
UselessParentheses | Useless parentheses. | 142 |
UselessParentheses | Useless parentheses. | 142 |
UselessParentheses | Useless parentheses. | 147 |
UselessParentheses | Useless parentheses. | 147 |
UselessParentheses | Useless parentheses. | 157 |
UselessParentheses | Useless parentheses. | 167 |
UselessParentheses | Useless parentheses. | 168 |
UselessParentheses | Useless parentheses. | 206 |
org/apache/struts/webapp/example2/SaveSubscriptionAction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 108 |
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 133 |
UselessParentheses | Useless parentheses. | 150 |
UselessParentheses | Useless parentheses. | 190 |
org/apache/struts/webapp/example2/SubscriptionForm.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 101 |
UselessParentheses | Useless parentheses. | 123 |
UselessParentheses | Useless parentheses. | 144 |
UselessParentheses | Useless parentheses. | 166 |
UselessParentheses | Useless parentheses. | 188 |
UselessParentheses | Useless parentheses. | 210 |
UselessParentheses | Useless parentheses. | 263 |
UselessParentheses | Useless parentheses. | 263 |
UselessParentheses | Useless parentheses. | 266 |
UselessParentheses | Useless parentheses. | 266 |
UselessParentheses | Useless parentheses. | 269 |
UselessParentheses | Useless parentheses. | 269 |
UselessParentheses | Useless parentheses. | 272 |
UselessParentheses | Useless parentheses. | 272 |
UselessParentheses | Useless parentheses. | 279 |
org/apache/struts/webapp/example2/plugin/MemoryDatabasePlugIn.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 96 |
UselessParentheses | Useless parentheses. | 211 |
UselessParentheses | Useless parentheses. | 220 |
UselessParentheses | Useless parentheses. | 238 |
Files
org/apache/struts/webapp/example2/ApplicationMapping.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 72 |
UselessParentheses | Useless parentheses. | 4 | 94 |
org/apache/struts/webapp/example2/CheckLogonTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 67 |
UselessParentheses | Useless parentheses. | 4 | 89 |
UselessParentheses | Useless parentheses. | 4 | 116 |
UselessParentheses | Useless parentheses. | 4 | 133 |
UselessParentheses | Useless parentheses. | 4 | 133 |
UselessParentheses | Useless parentheses. | 4 | 138 |
UselessParentheses | Useless parentheses. | 4 | 145 |
org/apache/struts/webapp/example2/EditRegistrationAction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 106 |
UselessParentheses | Useless parentheses. | 4 | 147 |
UselessParentheses | Useless parentheses. | 4 | 149 |
org/apache/struts/webapp/example2/EditSubscriptionAction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 105 |
UselessParentheses | Useless parentheses. | 4 | 111 |
UselessParentheses | Useless parentheses. | 4 | 114 |
UselessParentheses | Useless parentheses. | 4 | 152 |
org/apache/struts/webapp/example2/LinkSubscriptionTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 75 |
UselessParentheses | Useless parentheses. | 4 | 85 |
org/apache/struts/webapp/example2/LinkUserTag.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 82 |
UselessParentheses | Useless parentheses. | 4 | 104 |
UselessParentheses | Useless parentheses. | 4 | 169 |
UselessParentheses | Useless parentheses. | 4 | 192 |
org/apache/struts/webapp/example2/LoggedOff.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 67 |
UselessParentheses | Useless parentheses. | 4 | 80 |
org/apache/struts/webapp/example2/LoggedOn.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 67 |
org/apache/struts/webapp/example2/LogoffAction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 101 |
org/apache/struts/webapp/example2/LogonAction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 105 |
UselessParentheses | Useless parentheses. | 4 | 115 |
UselessParentheses | Useless parentheses. | 4 | 133 |
UselessParentheses | Useless parentheses. | 4 | 164 |
org/apache/struts/webapp/example2/LogonForm.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 72 |
UselessParentheses | Useless parentheses. | 4 | 94 |
UselessParentheses | Useless parentheses. | 4 | 142 |
UselessParentheses | Useless parentheses. | 4 | 142 |
UselessParentheses | Useless parentheses. | 4 | 144 |
UselessParentheses | Useless parentheses. | 4 | 144 |
org/apache/struts/webapp/example2/RegistrationBacking.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 52 |
UselessParentheses | Useless parentheses. | 4 | 53 |
UselessParentheses | Useless parentheses. | 4 | 72 |
UselessParentheses | Useless parentheses. | 4 | 94 |
UselessParentheses | Useless parentheses. | 4 | 116 |
UnusedFormalParameter | Avoid unused method parameters such as 'context'. | 3 | 130 |
UselessParentheses | Useless parentheses. | 4 | 133 |
org/apache/struts/webapp/example2/RegistrationForm.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 114 |
UselessParentheses | Useless parentheses. | 4 | 136 |
UselessParentheses | Useless parentheses. | 4 | 158 |
UselessParentheses | Useless parentheses. | 4 | 180 |
UselessParentheses | Useless parentheses. | 4 | 202 |
UselessParentheses | Useless parentheses. | 4 | 224 |
UselessParentheses | Useless parentheses. | 4 | 246 |
UselessParentheses | Useless parentheses. | 4 | 302 |
UselessParentheses | Useless parentheses. | 4 | 302 |
UselessParentheses | Useless parentheses. | 4 | 302 |
UselessParentheses | Useless parentheses. | 4 | 303 |
UselessParentheses | Useless parentheses. | 4 | 303 |
UselessParentheses | Useless parentheses. | 4 | 303 |
UselessParentheses | Useless parentheses. | 4 | 304–305 |
UselessParentheses | Useless parentheses. | 4 | 304 |
UselessParentheses | Useless parentheses. | 4 | 304 |
org/apache/struts/webapp/example2/SaveRegistrationAction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 107 |
UselessParentheses | Useless parentheses. | 4 | 110 |
UselessParentheses | Useless parentheses. | 4 | 118 |
UselessParentheses | Useless parentheses. | 4 | 134 |
UselessParentheses | Useless parentheses. | 4 | 135 |
UselessParentheses | Useless parentheses. | 4 | 142 |
UselessParentheses | Useless parentheses. | 4 | 142 |
UselessParentheses | Useless parentheses. | 4 | 147 |
UselessParentheses | Useless parentheses. | 4 | 147 |
UselessParentheses | Useless parentheses. | 4 | 157 |
UselessParentheses | Useless parentheses. | 4 | 167 |
UselessParentheses | Useless parentheses. | 4 | 168 |
UselessParentheses | Useless parentheses. | 4 | 206 |
org/apache/struts/webapp/example2/SaveSubscriptionAction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 108 |
UselessParentheses | Useless parentheses. | 4 | 116 |
UselessParentheses | Useless parentheses. | 4 | 133 |
UselessParentheses | Useless parentheses. | 4 | 150 |
UselessParentheses | Useless parentheses. | 4 | 190 |
org/apache/struts/webapp/example2/SubscriptionForm.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 101 |
UselessParentheses | Useless parentheses. | 4 | 123 |
UselessParentheses | Useless parentheses. | 4 | 144 |
UselessParentheses | Useless parentheses. | 4 | 166 |
UselessParentheses | Useless parentheses. | 4 | 188 |
UselessParentheses | Useless parentheses. | 4 | 210 |
UselessParentheses | Useless parentheses. | 4 | 263 |
UselessParentheses | Useless parentheses. | 4 | 263 |
UselessParentheses | Useless parentheses. | 4 | 266 |
UselessParentheses | Useless parentheses. | 4 | 266 |
UselessParentheses | Useless parentheses. | 4 | 269 |
UselessParentheses | Useless parentheses. | 4 | 269 |
UselessParentheses | Useless parentheses. | 4 | 272 |
UselessParentheses | Useless parentheses. | 4 | 272 |
UselessParentheses | Useless parentheses. | 4 | 279 |
org/apache/struts/webapp/example2/plugin/MemoryDatabasePlugIn.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 96 |
UselessParentheses | Useless parentheses. | 4 | 211 |
UselessParentheses | Useless parentheses. | 4 | 220 |
UselessParentheses | Useless parentheses. | 4 | 238 |