FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.0.0

Threshold is Low

Effort is Default

Files

edu.wisc.my.webproxy.beans.cache.CacheEntry

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.cache.CacheEntry.getContent() may expose internal representation by returning edu.wisc.my.webproxy.beans.cache.CacheEntry.contentMALICIOUS_CODEEI_EXPOSE_REP60
edu.wisc.my.webproxy.beans.cache.CacheEntry.getExpirationDate() may expose internal representation by returning edu.wisc.my.webproxy.beans.cache.CacheEntry.expirationDateMALICIOUS_CODEEI_EXPOSE_REP72
edu.wisc.my.webproxy.beans.cache.CacheEntry.setContent(byte[]) may expose internal representation by storing an externally mutable object into edu.wisc.my.webproxy.beans.cache.CacheEntry.contentMALICIOUS_CODEEI_EXPOSE_REP278
edu.wisc.my.webproxy.beans.cache.CacheEntry.setExpirationDate(java.util.Date) may expose internal representation by storing an externally mutable object into edu.wisc.my.webproxy.beans.cache.CacheEntry.expirationDateMALICIOUS_CODEEI_EXPOSE_REP290
edu.wisc.my.webproxy.beans.cache.CacheEntry is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

edu.wisc.my.webproxy.beans.cache.oscache.CacheEntryRefreshPolicy

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.cache.oscache.CacheEntryRefreshPolicy is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

edu.wisc.my.webproxy.beans.cache.oscache.KeyHashingPersistenceListener

BugCategoryDetailsLine
Load of known null value in edu.wisc.my.webproxy.beans.cache.oscache.KeyHashingPersistenceListener.getKeyHash(String)STYLENP_LOAD_OF_KNOWN_NULL_VALUE195
Unsigned right shift cast to short/byte in edu.wisc.my.webproxy.beans.cache.oscache.KeyHashingPersistenceListener.byteArrayToHexString(byte[])STYLEICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT248

edu.wisc.my.webproxy.beans.config.CacheConfigImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.config.CacheConfigImpl.process(javax.portlet.ActionRequest,javax.portlet.ActionResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR81

edu.wisc.my.webproxy.beans.config.ClippingConfigImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.config.ClippingConfigImpl.process(javax.portlet.ActionRequest,javax.portlet.ActionResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR71

edu.wisc.my.webproxy.beans.config.ConfigUtils

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.config.ConfigUtils.toBooleanArray(String[],boolean[]) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR87

edu.wisc.my.webproxy.beans.config.HtmlParserConfigImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.config.HtmlParserConfigImpl.process(javax.portlet.ActionRequest,javax.portlet.ActionResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR67

edu.wisc.my.webproxy.beans.config.HttpClientConfigImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.config.HttpClientConfigImpl.process(javax.portlet.ActionRequest,javax.portlet.ActionResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR105

edu.wisc.my.webproxy.beans.filtering.BaseUrlFilter

BugCategoryDetailsLine
Method edu.wisc.my.webproxy.beans.filtering.BaseUrlFilter.startElement(String,String,String,org.xml.sax.Attributes) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE101

edu.wisc.my.webproxy.beans.filtering.ClippingFilter

BugCategoryDetailsLine
Method edu.wisc.my.webproxy.beans.filtering.ClippingFilter.comment(char[],int,int) invokes toString() method on a String; just use the StringPERFORMANCEDM_STRING_TOSTRING307
edu.wisc.my.webproxy.beans.filtering.ClippingFilter.setupFilter(javax.portlet.PortletRequest) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR350
edu.wisc.my.webproxy.beans.filtering.ClippingFilter.setElement(String[]) may expose internal representation by storing an externally mutable object into edu.wisc.my.webproxy.beans.filtering.ClippingFilter.sElementMALICIOUS_CODEEI_EXPOSE_REP2130

edu.wisc.my.webproxy.beans.filtering.FuncNameUrlFilter

BugCategoryDetailsLine
Method edu.wisc.my.webproxy.beans.filtering.FuncNameUrlFilter.doUrlRewite(String,int) invokes toString() method on a String; just use the StringPERFORMANCEDM_STRING_TOSTRING101

edu.wisc.my.webproxy.beans.filtering.NekoHtmlParser

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.filtering.NekoHtmlParser.setRenderData(javax.portlet.RenderRequest,javax.portlet.RenderResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR114
Method edu.wisc.my.webproxy.beans.filtering.NekoHtmlParser.getReader(org.xml.sax.ext.LexicalHandler) directly allocates a specific implementation of xml interfacesSTYLEXFB_XML_FACTORY_BYPASS82

edu.wisc.my.webproxy.beans.http.Credentials

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.http.Credentials is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

edu.wisc.my.webproxy.beans.http.HttpClientCookieImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.http.HttpClientCookieImpl is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

edu.wisc.my.webproxy.beans.http.HttpClientStateImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.http.HttpClientStateImpl is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

edu.wisc.my.webproxy.beans.http.NtCredentials

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.http.NtCredentials is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available

edu.wisc.my.webproxy.beans.http.RequestImpl

BugCategoryDetailsLine
edu.wisc.my.webproxy.beans.http.RequestImpl.setHeaders(Header[]) may expose internal representation by storing an externally mutable object into edu.wisc.my.webproxy.beans.http.RequestImpl.headersMALICIOUS_CODEEI_EXPOSE_REP2101
edu.wisc.my.webproxy.beans.http.RequestImpl.getHeaders() may expose internal representation by returning edu.wisc.my.webproxy.beans.http.RequestImpl.headersMALICIOUS_CODEEI_EXPOSE_REP108
edu.wisc.my.webproxy.beans.http.RequestImpl.setParameters(ParameterPair[]) may expose internal representation by storing an externally mutable object into edu.wisc.my.webproxy.beans.http.RequestImpl.postAttributesMALICIOUS_CODEEI_EXPOSE_REP2150
edu.wisc.my.webproxy.beans.http.RequestImpl.getParameters() may expose internal representation by returning edu.wisc.my.webproxy.beans.http.RequestImpl.postAttributesMALICIOUS_CODEEI_EXPOSE_REP157

edu.wisc.my.webproxy.beans.PortletPreferencesWrapper

BugCategoryDetailsLine
Should edu.wisc.my.webproxy.beans.PortletPreferencesWrapper.getValues(String,String[]) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS113

edu.wisc.my.webproxy.portlet.WebProxyPortlet

BugCategoryDetailsLine
edu.wisc.my.webproxy.portlet.WebProxyPortlet.renderContent(javax.portlet.RenderRequest,javax.portlet.RenderResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR238
edu.wisc.my.webproxy.portlet.WebProxyPortlet.doHttpAuth(javax.portlet.PortletRequest,edu.wisc.my.webproxy.beans.http.Request) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR609
edu.wisc.my.webproxy.portlet.WebProxyPortlet.doFormAuth(edu.wisc.my.webproxy.beans.http.HttpManager,javax.portlet.PortletRequest) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR649
edu.wisc.my.webproxy.portlet.WebProxyPortlet.manualLogin(javax.portlet.RenderRequest,javax.portlet.RenderResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR774
edu.wisc.my.webproxy.portlet.WebProxyPortlet.processManualAuthForm(javax.portlet.ActionRequest) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR1186
Method edu.wisc.my.webproxy.portlet.WebProxyPortlet.checkRedirect(String,edu.wisc.my.webproxy.beans.http.Response) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version insteadI18NDM_CONVERT_CASE1249
edu.wisc.my.webproxy.portlet.WebProxyPortlet.getState(javax.portlet.PortletRequest) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR1306
edu.wisc.my.webproxy.portlet.WebProxyPortlet.storeState(javax.portlet.PortletRequest,edu.wisc.my.webproxy.beans.http.State) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR1335
Write to static field edu.wisc.my.webproxy.portlet.WebProxyPortlet.instance from instance method edu.wisc.my.webproxy.portlet.WebProxyPortlet.destroy()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD134
Write to static field edu.wisc.my.webproxy.portlet.WebProxyPortlet.instance from instance method edu.wisc.my.webproxy.portlet.WebProxyPortlet.init()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD141

edu.wisc.my.webproxy.servlet.ProxyServlet

BugCategoryDetailsLine
edu.wisc.my.webproxy.servlet.ProxyServlet.doGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) invokes dubious Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR153
edu.wisc.my.webproxy.servlet.ProxyServlet is Serializable; consider declaring a serialVersionUIDCORRECTNESSSE_NO_SERIALVERSIONIDNot available
Class edu.wisc.my.webproxy.servlet.ProxyServlet defines non-transient non-serializable instance field edu.wisc.my.webproxy.servlet.ProxyServlet.LOGCORRECTNESSSE_BAD_FIELDNot available

edu.wisc.my.webproxy.servlet.SessionMappingListener

BugCategoryDetailsLine
Field not initialized in constructor: edu.wisc.my.webproxy.beans.SpringList.wrappedListSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.FilteringPersistenceListener.persistedGroupsSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener.allObjectsDeleteSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener.objectDeleteSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener.objectExistsQuerySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener.objectInsertSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener.objectQuerySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener.objectUpdateSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.cache.oscache.OsCachePageCache.cacheAdminSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.http.JdbcStateStore.allStatesDeleteSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.http.JdbcStateStore.stateDeleteSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.http.JdbcStateStore.stateExistsQuerySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.http.JdbcStateStore.stateInsertSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.http.JdbcStateStore.stateQuerySTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Field not initialized in constructor: edu.wisc.my.webproxy.beans.http.JdbcStateStore.stateUpdateSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORNot available
Should edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener$AllObjectsDelete be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener$ObjectDelete be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener$ObjectExistsQuery be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener$ObjectInsert be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.cache.oscache.JdbcPersistenceListener$ObjectUpdate be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.http.JdbcStateStore$AllStatesDelete be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.http.JdbcStateStore$StateDelete be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.http.JdbcStateStore$StateExistsQuery be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.http.JdbcStateStore$StateInsert be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available
Should edu.wisc.my.webproxy.beans.http.JdbcStateStore$StateUpdate be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATICNot available