Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
17 22 0 0

org.apache.maven.surefire.group.match.OrGroupMatcher

Bug Category Details Line Priority
org.apache.maven.surefire.group.match.OrGroupMatcher.equals(Object) checks for operand being a AndGroupMatcher BAD_PRACTICE EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS 120 High

org.apache.maven.surefire.group.parse.GroupMatcherParser

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.maven.surefire.group.parse.GroupMatcherParser.main(String[]): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 11 High
The method name org.apache.maven.surefire.group.parse.GroupMatcherParser.ReInit(InputStream) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 442-443 Medium
The method name org.apache.maven.surefire.group.parse.GroupMatcherParser.ReInit(InputStream, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 446-453 Medium
The method name org.apache.maven.surefire.group.parse.GroupMatcherParser.ReInit(Reader) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 468-475 Medium
The method name org.apache.maven.surefire.group.parse.GroupMatcherParser.ReInit(GroupMatcherParserTokenManager) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 489-495 Medium
Switch statement found in org.apache.maven.surefire.group.parse.GroupMatcherParser.jj_rescan_token() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 652-665 Medium
Unread field: org.apache.maven.surefire.group.parse.GroupMatcherParser.jj_ntk PERFORMANCE URF_UNREAD_FIELD 434 Medium

org.apache.maven.surefire.group.parse.GroupMatcherParserConstants

Bug Category Details Line Priority
org.apache.maven.surefire.group.parse.GroupMatcherParserConstants.tokenImage should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 40 Medium

org.apache.maven.surefire.group.parse.GroupMatcherParserTokenManager

Bug Category Details Line Priority
org.apache.maven.surefire.group.parse.GroupMatcherParserTokenManager.jjstrLiteralImages should be package protected MALICIOUS_CODE MS_PKGPROTECT 313 Medium
The method name org.apache.maven.surefire.group.parse.GroupMatcherParserTokenManager.ReInit(SimpleCharStream) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 347-351 Medium
The method name org.apache.maven.surefire.group.parse.GroupMatcherParserTokenManager.ReInit(SimpleCharStream, int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 363-365 Medium
The method name org.apache.maven.surefire.group.parse.GroupMatcherParserTokenManager.SwitchTo(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 370-374 Medium
Unread public/protected field: org.apache.maven.surefire.group.parse.GroupMatcherParserTokenManager.debugStream STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 13 Medium

org.apache.maven.surefire.group.parse.ParseException

Bug Category Details Line Priority
new org.apache.maven.surefire.group.parse.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.expectedTokenSequences MALICIOUS_CODE EI_EXPOSE_REP2 36 Medium
new org.apache.maven.surefire.group.parse.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.tokenImage MALICIOUS_CODE EI_EXPOSE_REP2 37 Medium
org.apache.maven.surefire.group.parse.ParseException.initialise(Token, int[][], String[]) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 117 Medium

org.apache.maven.surefire.group.parse.SimpleCharStream

Bug Category Details Line Priority
Found reliance on default encoding in new org.apache.maven.surefire.group.parse.SimpleCharStream(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 322 High
Found reliance on default encoding in new org.apache.maven.surefire.group.parse.SimpleCharStream(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 315 High
Found reliance on default encoding in org.apache.maven.surefire.group.parse.SimpleCharStream.ReInit(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 362 High
Found reliance on default encoding in org.apache.maven.surefire.group.parse.SimpleCharStream.ReInit(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 355 High

org.apache.maven.surefire.group.parse.TokenMgrError

Bug Category Details Line Priority
The method name org.apache.maven.surefire.group.parse.TokenMgrError.LexicalError(boolean, int, int, int, String, char) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 108 Medium