PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/nnsoft/commons/bspi/ServiceClassIterator.java
Violation | Line |
---|
Avoid empty catch blocks | 200 - 203 |
org/nnsoft/commons/bspi/ServiceFileParser.java
Violation | Line |
---|
Unnecessary final modifier in final class | 41 - 52 |
An empty statement (semicolon) not part of a loop | 45 |
Unnecessary final modifier in final class | 54 - 62 |
Avoid unused private fields such as 'jj_ntk'. | 88 |
Unnecessary final modifier in final class | 225 - 231 |
Unnecessary final modifier in final class | 234 - 241 |
Avoid unused private methods such as 'jj_ntk()'. | 243 |
Unnecessary final modifier in final class | 316 - 317 |
Unnecessary final modifier in final class | 320 - 321 |
Avoid empty catch blocks | 337 |
org/nnsoft/commons/bspi/ServiceFileParserTokenManager.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.Iterator' | 18 |
Avoid unused imports such as 'java.util.LinkedHashMap' | 19 |
Avoid unused imports such as 'java.util.LinkedHashSet' | 20 |
Avoid unused imports such as 'java.util.Set' | 21 |
Avoid unused method parameters such as 'active0'. | 31 - 38 |
Avoid unused private methods such as 'jjStartNfa_0(int,long)'. | 39 |
Do not start a literal by 0 unless it's an octal value | 133 |
Do not start a literal by 0 unless it's an octal value | 162 |
Do not start a literal by 0 unless it's an octal value | 164 |
These nested if statements could be combined | 227 - 228 |
Do not start a literal by 0 unless it's an octal value | 247 |
Avoid unused local variables such as 'l'. | 247 |
Avoid unused local variables such as 'i1'. | 259 |
Do not start a literal by 0 unless it's an octal value | 260 |
Avoid unused local variables such as 'l1'. | 260 |
Avoid unused local variables such as 'i2'. | 261 |
Do not start a literal by 0 unless it's an octal value | 262 |
Avoid unused local variables such as 'l2'. | 262 |
Avoid unused private fields such as 'lengthOfMatch'. | 339 |
Do not start a literal by 0 unless it's an octal value | 470 |
Do not start a literal by 0 unless it's an octal value | 478 |
Do not start a literal by 0 unless it's an octal value | 480 |
Avoid empty catch blocks | 507 |
Avoid unused private methods such as 'jjAddStates(int,int)'. | 549 |
org/nnsoft/commons/bspi/TokenMgrError.java
Violation | Line |
---|
Overriding method merely calls super | 139 - 141 |