PMD Results
The following document contains the results of PMD 5.3.5.
Files
org/jomc/util/SectionEditor.java
| Violation |
Line |
| Avoid unused private methods such as 'getMessage(Throwable)'. |
527 |
org/jomc/util/WeakIdentityHashMap.java
| Violation |
Line |
| Avoid empty while statements |
496 |
| Avoid empty while statements |
670 |
org/jomc/util/SimpleCharStream.java
| Violation |
Line |
| Useless parentheses. |
91 |
| Useless parentheses. |
202 |
org/jomc/util/TokenMgrError.java
| Violation |
Line |
| Overriding method merely calls super |
154–156 |
org/jomc/util/VersionParser.java
| Violation |
Line |
| Unnecessary final modifier in final class |
219–251 |
| An empty statement (semicolon) not part of a loop |
228 |
| An empty statement (semicolon) not part of a loop |
238 |
| Do not use if statements that are always true or always false |
249 |
| Unnecessary final modifier in final class |
253–269 |
| Unnecessary final modifier in final class |
371–377 |
| Unnecessary final modifier in final class |
380–387 |
| Unnecessary use of fully qualified name 'java.util.List' due to existing import 'java.util.List' |
396 |
| Unnecessary final modifier in final class |
432–433 |
| Unnecessary final modifier in final class |
436–437 |
org/jomc/util/VersionParserTokenManager.java
| Violation |
Line |
| Avoid unused imports such as 'java.io.StringReader' |
33 |
| Avoid unused imports such as 'java.text.MessageFormat' |
34 |
| Avoid unused imports such as 'java.text.NumberFormat' |
35 |
| Avoid unused imports such as 'java.util.List' |
36 |
| Avoid unused imports such as 'java.util.LinkedList' |
37 |
| Avoid unused imports such as 'java.util.Locale' |
38 |
| Avoid unused imports such as 'java.util.ResourceBundle' |
39 |
| Do not start a literal by 0 unless its an octal value |
111 |
| These nested if statements could be combined |
125–126 |
| Do not start a literal by 0 unless its an octal value |
142 |
| Avoid unused private methods such as 'jjAddStates(int,int)'. |
324 |
| Avoid unused private methods such as 'jjCheckNAddTwoStates(int,int)'. |
330 |