FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
20 18 0 0

org.jomc.util.ParseException

Bug Category Details Line Priority
new org.jomc.util.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.expectedTokenSequences MALICIOUS_CODE EI_EXPOSE_REP2 66 Medium
new org.jomc.util.ParseException(Token, int[][], String[]) may expose internal representation by storing an externally mutable object into ParseException.tokenImage MALICIOUS_CODE EI_EXPOSE_REP2 67 Medium
org.jomc.util.ParseException.initialise(Token, int[][], String[]) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 147 Medium

org.jomc.util.SimpleCharStream

Bug Category Details Line Priority
Found reliance on default encoding in new org.jomc.util.SimpleCharStream(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 350 High
Found reliance on default encoding in new org.jomc.util.SimpleCharStream(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 343 High
Found reliance on default encoding in org.jomc.util.SimpleCharStream.ReInit(InputStream, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 390 High
Found reliance on default encoding in org.jomc.util.SimpleCharStream.ReInit(InputStream, String, int, int, int): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 383 High

org.jomc.util.TokenMgrError

Bug Category Details Line Priority
The method name org.jomc.util.TokenMgrError.LexicalError(boolean, int, int, int, String, char) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 138 Medium

org.jomc.util.VersionParser

Bug Category Details Line Priority
The method name org.jomc.util.VersionParser.ReInit(InputStream) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 305-306 Medium
The method name org.jomc.util.VersionParser.ReInit(InputStream, String) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 309-315 Medium
The method name org.jomc.util.VersionParser.ReInit(Reader) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 329-335 Medium
The method name org.jomc.util.VersionParser.ReInit(VersionParserTokenManager) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 348-353 Medium

org.jomc.util.VersionParserConstants

Bug Category Details Line Priority
org.jomc.util.VersionParserConstants.tokenImage should be moved out of an interface and made package protected MALICIOUS_CODE MS_OOI_PKGPROTECT 54 Medium

org.jomc.util.VersionParserTokenManager

Bug Category Details Line Priority
org.jomc.util.VersionParserTokenManager.jjstrLiteralImages should be package protected MALICIOUS_CODE MS_PKGPROTECT 176 Medium
The method name org.jomc.util.VersionParserTokenManager.ReInit(SimpleCharStream) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 203-207 Medium
The method name org.jomc.util.VersionParserTokenManager.ReInit(SimpleCharStream, int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 219-221 Medium
The method name org.jomc.util.VersionParserTokenManager.SwitchTo(int) doesn't start with a lower case letter BAD_PRACTICE NM_METHOD_NAMING_CONVENTION 226-230 Medium
Unread public/protected field: org.jomc.util.VersionParserTokenManager.debugStream STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 48 Medium