PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/nnsoft/commons/bspi/ServiceClassIterator.java

ViolationLine
Avoid empty catch blocks200 - 203

org/nnsoft/commons/bspi/ServiceFileParser.java

ViolationLine
Unnecessary final modifier in final class41 - 52
An empty statement (semicolon) not part of a loop45
Unnecessary final modifier in final class54 - 62
Avoid unused private fields such as 'jj_ntk'.88
Unnecessary final modifier in final class225 - 231
Unnecessary final modifier in final class234 - 241
Avoid unused private methods such as 'jj_ntk()'.243
Unnecessary final modifier in final class316 - 317
Unnecessary final modifier in final class320 - 321
Avoid empty catch blocks337

org/nnsoft/commons/bspi/ServiceFileParserTokenManager.java

ViolationLine
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 value133
Do not start a literal by 0 unless it's an octal value162
Do not start a literal by 0 unless it's an octal value164
These nested if statements could be combined227 - 228
Do not start a literal by 0 unless it's an octal value247
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 value260
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 value262
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 value470
Do not start a literal by 0 unless it's an octal value478
Do not start a literal by 0 unless it's an octal value480
Avoid empty catch blocks507
Avoid unused private methods such as 'jjAddStates(int,int)'.549

org/nnsoft/commons/bspi/TokenMgrError.java

ViolationLine
Overriding method merely calls super139 - 141