FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is
Summary
Classes |
Bugs |
Errors |
Missing Classes |
5 |
13 |
0 |
0 |
jgloss.www.CookieTools
Bug |
Category |
Details |
Line |
Priority |
Switch statement found in jgloss.www.CookieTools.parseCookie(String, Map, int, boolean) where one case falls through to the next case |
STYLE |
SF_SWITCH_FALLTHROUGH |
489 |
Medium |
Switch statement found in jgloss.www.CookieTools.parseCookie(String, Map, int, boolean) where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
483 |
Medium |
Call to method of static java.text.DateFormat in jgloss.www.CookieTools.addResponseCookies(URLConnection, HttpServletResponse, String, String, boolean, ServletContext) |
MT_CORRECTNESS |
STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE |
343 |
Medium |
Call to method of static java.text.DateFormat in jgloss.www.CookieTools.addResponseCookies(URLConnection, HttpServletResponse, String, String, boolean, ServletContext) |
MT_CORRECTNESS |
STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE |
347 |
Medium |
jgloss.www.CookieTools.expiresDateFormat1 is a static field of type java.text.DateFormat, which isn't thread safe |
MT_CORRECTNESS |
STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE |
|
Medium |
jgloss.www.CookieTools.expiresDateFormat2 is a static field of type java.text.DateFormat, which isn't thread safe |
MT_CORRECTNESS |
STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE |
|
Medium |
Useless condition: it's known that version1 == true at this point |
STYLE |
UC_USELESS_CONDITION |
509 |
High |
jgloss.www.HTMLAnnotator
Bug |
Category |
Details |
Line |
Priority |
Switch statement found in jgloss.www.HTMLAnnotator.annotate(String, Reader, Writer, URLRewriter) where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
141 |
Medium |
Write to static field jgloss.www.HTMLAnnotator.script from instance method new jgloss.www.HTMLAnnotator(Parser, String) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
113 |
High |
jgloss.www.JGlossServlet
Bug |
Category |
Details |
Line |
Priority |
jgloss.www.JGlossServlet.init(ServletConfig) concatenates strings using + in a loop |
PERFORMANCE |
SBSC_USE_STRINGBUFFER_CONCATENATION |
252 |
Medium |
Class jgloss.www.JGlossServlet defines non-transient non-serializable instance field dictionaries |
BAD_PRACTICE |
SE_BAD_FIELD |
|
Medium |
jgloss.www.JGlossURLRewriter