PMD Results
The following document contains the results of PMD 4.3.
Files
org/jomc/util/WeakIdentityHashMap.java
| Violation | Line |
|---|
| Avoid empty while statements | 444 |
| Avoid empty while statements | 608 |
org/jomc/util/SimpleCharStream.java
| Violation | Line |
|---|
| Avoid using java.lang.ThreadGroup; it is not thread safe | 147 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 343 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 343 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 350 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 383 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 383 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 390 |
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 |
| Avoid using java.lang.ThreadGroup; it is not thread safe | 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 it's an octal value | 111 |
| These nested if statements could be combined | 125 - 126 |
| Do not start a literal by 0 unless it's an octal value | 142 |
| Avoid unused private methods such as 'jjAddStates(int,int)'. | 324 |
| Avoid unused private methods such as 'jjCheckNAddTwoStates(int,int)'. | 330 |