PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/maven/surefire/group/parse/GroupMatcherParser.java
Rule | Violation | Line |
---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 82 |
UnnecessarySemicolon | Unnecessary semicolon | 102 |
UnnecessarySemicolon | Unnecessary semicolon | 110 |
UnnecessarySemicolon | Unnecessary semicolon | 129 |
UnusedPrivateField | Avoid unused private fields such as 'jj_ntk'. | 436 |
UnusedPrivateMethod | Avoid unused private methods such as 'jj_ntk_f()'. | 600 |
EmptyCatchBlock | Avoid empty catch blocks | 728 |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'jjStopStringLiteralDfa_0': private methods cannot be overridden | 15–62 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'jjStartNfa_0': private methods cannot be overridden | 63–65 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 233 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 280 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 373 |
org/apache/maven/surefire/group/parse/ParseException.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 131–140 |
Priority 4
org/apache/maven/surefire/group/parse/GroupMatcherParser.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 175 |
UselessParentheses | Useless parentheses. | 183 |
UselessParentheses | Useless parentheses. | 191 |
UselessParentheses | Useless parentheses. | 199 |
UselessParentheses | Useless parentheses. | 207 |
UselessParentheses | Useless parentheses. | 215 |
UselessParentheses | Useless parentheses. | 223 |
UselessParentheses | Useless parentheses. | 231 |
UselessParentheses | Useless parentheses. | 239 |
UselessParentheses | Useless parentheses. | 247 |
UselessParentheses | Useless parentheses. | 255 |
UselessParentheses | Useless parentheses. | 263 |
UselessParentheses | Useless parentheses. | 271 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 453 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 457 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' | 458 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 467 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 471 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' | 472 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' | 482 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' | 492 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.lang.Error' due to existing implicit import 'java.lang.*' | 552 |
UselessParentheses | Useless parentheses. | 602 |
UselessParentheses | Useless parentheses. | 604 |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java
Rule | Violation | Line |
---|---|---|
UnnecessaryImport | Unused import 'org.apache.maven.surefire.group.match.*' | 4 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' | 12 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' | 14 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 97 |
UselessParentheses | Useless parentheses. | 121 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 124 |
UselessParentheses | Useless parentheses. | 142 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 145 |
UselessParentheses | Useless parentheses. | 159 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 162 |
UselessParentheses | Useless parentheses. | 176 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 179 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 199 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 299 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 365 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 388 |
UselessParentheses | Useless parentheses. | 416 |
org/apache/maven/surefire/group/parse/SimpleCharStream.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 63 |
UselessParentheses | Useless parentheses. | 63 |
UselessParentheses | Useless parentheses. | 76 |
UselessParentheses | Useless parentheses. | 151 |
UselessParentheses | Useless parentheses. | 161 |
UselessParentheses | Useless parentheses. | 174 |
Files
org/apache/maven/surefire/group/parse/GroupMatcherParser.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessarySemicolon | Unnecessary semicolon | 3 | 82 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 102 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 110 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 129 |
UselessParentheses | Useless parentheses. | 4 | 175 |
UselessParentheses | Useless parentheses. | 4 | 183 |
UselessParentheses | Useless parentheses. | 4 | 191 |
UselessParentheses | Useless parentheses. | 4 | 199 |
UselessParentheses | Useless parentheses. | 4 | 207 |
UselessParentheses | Useless parentheses. | 4 | 215 |
UselessParentheses | Useless parentheses. | 4 | 223 |
UselessParentheses | Useless parentheses. | 4 | 231 |
UselessParentheses | Useless parentheses. | 4 | 239 |
UselessParentheses | Useless parentheses. | 4 | 247 |
UselessParentheses | Useless parentheses. | 4 | 255 |
UselessParentheses | Useless parentheses. | 4 | 263 |
UselessParentheses | Useless parentheses. | 4 | 271 |
UnusedPrivateField | Avoid unused private fields such as 'jj_ntk'. | 3 | 436 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 4 | 453 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 4 | 457 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' | 4 | 458 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 4 | 467 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.InputStream' due to existing import 'java.io.*' | 4 | 471 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.UnsupportedEncodingException' due to existing import 'java.io.*' | 4 | 472 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' | 4 | 482 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.Reader' due to existing import 'java.io.*' | 4 | 492 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.lang.Error' due to existing implicit import 'java.lang.*' | 4 | 552 |
UnusedPrivateMethod | Avoid unused private methods such as 'jj_ntk_f()'. | 3 | 600 |
UselessParentheses | Useless parentheses. | 4 | 602 |
UselessParentheses | Useless parentheses. | 4 | 604 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 728 |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryImport | Unused import 'org.apache.maven.surefire.group.match.*' | 4 | 4 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' | 4 | 12 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.PrintStream' due to existing import 'java.io.*' | 4 | 14 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'jjStopStringLiteralDfa_0': private methods cannot be overridden | 3 | 15–62 |
UnnecessaryModifier | Unnecessary modifier 'final' on method 'jjStartNfa_0': private methods cannot be overridden | 3 | 63–65 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 97 |
UselessParentheses | Useless parentheses. | 4 | 121 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 124 |
UselessParentheses | Useless parentheses. | 4 | 142 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 145 |
UselessParentheses | Useless parentheses. | 4 | 159 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 162 |
UselessParentheses | Useless parentheses. | 4 | 176 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 179 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 199 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 233 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 280 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 299 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 365 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 373 |
UnnecessaryFullyQualifiedName | Unnecessary use of fully qualified name 'java.io.IOException' due to existing import 'java.io.*' | 4 | 388 |
UselessParentheses | Useless parentheses. | 4 | 416 |
org/apache/maven/surefire/group/parse/ParseException.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 131–140 |
org/apache/maven/surefire/group/parse/SimpleCharStream.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 63 |
UselessParentheses | Useless parentheses. | 4 | 63 |
UselessParentheses | Useless parentheses. | 4 | 76 |
UselessParentheses | Useless parentheses. | 4 | 151 |
UselessParentheses | Useless parentheses. | 4 | 161 |
UselessParentheses | Useless parentheses. | 4 | 174 |
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java | Avoid unused local variables such as 'i2'. | annotation | |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java | Avoid unused local variables such as 'l2'. | annotation | |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java | Avoid unused private methods such as 'jjAddStates(int,int)'. | annotation | |
org/apache/maven/surefire/group/parse/GroupMatcherParserTokenManager.java | Avoid unused private methods such as 'jjCheckNAddTwoStates(int,int)'. | annotation | |
org/apache/maven/surefire/group/parse/TokenMgrError.java | Useless parentheses. | annotation | |
org/apache/maven/surefire/group/parse/TokenMgrError.java | Useless parentheses. | annotation | |
org/apache/maven/surefire/group/parse/TokenMgrError.java | Overriding method merely calls super | annotation |