PMD Results
The following document contains the results of PMD 5.6.1.
Files
org/apache/maven/surefire/group/parse/GroupMatcherParser.java
Violation |
Line |
Do not use if statements that are always true or always false |
57 |
Do not use if statements that are always true or always false |
71 |
An empty statement (semicolon) not part of a loop |
84 |
Do not use if statements that are always true or always false |
92 |
An empty statement (semicolon) not part of a loop |
105 |
An empty statement (semicolon) not part of a loop |
113 |
Do not use if statements that are always true or always false |
122 |
An empty statement (semicolon) not part of a loop |
133 |
Do not use if statements that are always true or always false |
137 |
Do not use if statements that are always true or always false |
162 |
Avoid unused private fields such as 'jj_ntk'. |
409 |
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' |
426 |
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' |
430 |
Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' |
431 |
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' |
441 |
Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' |
445 |
Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' |
446 |
Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' |
456 |
Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' |
467 |
Avoid unused private methods such as 'jj_ntk()'. |
564 |
Avoid empty catch blocks |
670 |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java
Violation |
Line |
Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' |
11 |
Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' |
13 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
100 |
Useless parentheses. |
125 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
128 |
Useless parentheses. |
147 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
150 |
Useless parentheses. |
165 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
168 |
Useless parentheses. |
183 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
186 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
206 |
Do not start a literal by 0 unless its an octal value |
240 |
Avoid unused local variables such as 'i2'. |
286 |
Do not start a literal by 0 unless its an octal value |
287 |
Avoid unused local variables such as 'l2'. |
287 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
306 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
420 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
431 |
Do not start a literal by 0 unless its an octal value |
439 |
Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' |
454 |
Avoid unused private methods such as 'jjAddStates(int,int)'. |
480 |
Avoid unused private methods such as 'jjCheckNAddTwoStates(int,int)'. |
486 |
org/apache/maven/surefire/group/parse/SimpleCharStream.java
Violation |
Line |
Useless parentheses. |
61 |
Useless parentheses. |
172 |
org/apache/maven/surefire/group/parse/TokenMgrError.java
Violation |
Line |
Overriding method merely calls super |
124–126 |