SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
8 6 0 0

Files

Class Bugs
joggle.data.Scanner 1
joggle.data.Serializer 3
joggle.web.SearchServlet 1
joggle.web.StatusServlet 1

joggle.data.Scanner

Bug Category Details Line Priority
Possible null pointer dereference in joggle.data.Scanner.scan(File) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 42 Medium

joggle.data.Serializer

Bug Category Details Line Priority
Found reliance on default encoding in joggle.data.Serializer.decode(String): java.io.ByteArrayOutputStream.toString() I18N DM_DEFAULT_ENCODING 35 High
Found reliance on default encoding in joggle.data.Serializer.decode(String): String.getBytes() I18N DM_DEFAULT_ENCODING 23 High
Found reliance on default encoding in joggle.data.Serializer.hash(String): String.getBytes() I18N DM_DEFAULT_ENCODING 39 High

joggle.web.SearchServlet

Bug Category Details Line Priority
HTTP parameter written to Servlet output in joggle.web.SearchServlet.doGet(HttpServletRequest, HttpServletResponse) SECURITY XSS_REQUEST_PARAMETER_TO_SERVLET_WRITER 62 Medium

joggle.web.StatusServlet

Bug Category Details Line Priority
Call to method of static java.text.DateFormat in joggle.web.StatusServlet.status() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 52 Medium