The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Clock2.init() might ignore java.lang.Exception | BAD_PRACTICE | DE_MIGHT_IGNORE | 58 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
HTTP cookie formed from untrusted input in CookieExample.doGet(HttpServletRequest, HttpServletResponse) | SECURITY | HRS_REQUEST_PARAMETER_TO_COOKIE | 85 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name servletToJsp doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 19 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: cal.Entry.color | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unused field: cal.JspCalendar.currentDate | PERFORMANCE | UUF_UNUSED_FIELD | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in chat.ChatServlet.read(CometEvent, HttpServletRequest, HttpServletResponse): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 162 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
checkbox.CheckTest.getFruit() may expose internal representation by returning CheckTest.b | MALICIOUS_CODE | EI_EXPOSE_REP | 25 | Medium |
checkbox.CheckTest.setFruit(String[]) may expose internal representation by storing an externally mutable object into CheckTest.b | MALICIOUS_CODE | EI_EXPOSE_REP2 | 29 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: compressionFilters.CompressionResponseStream.length | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in compressionFilters.CompressionServletResponseWrapper.getWriter(): new java.io.PrintWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 234 | High |
Unread public/protected field: compressionFilters.CompressionServletResponseWrapper.contentType | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 95 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: filters.SetCharacterEncodingFilter.filterConfig | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 76 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
jsp2.examples.simpletag.ShuffleSimpleTag.doTag() uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 36 | Medium |
Switch statement found in jsp2.examples.simpletag.ShuffleSimpleTag.doTag() where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 36 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Random object created and used only once in num.NumberGuessBean.reset() | BAD_PRACTICE | DMI_RANDOM_USED_ONLY_ONCE | 75 | High |