FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
43 16 0 46

org.andromda.presentation.jsf.FileDownloadServlet

Bug Category Details Line Priority
Found reliance on default encoding in org.andromda.presentation.jsf.FileDownloadServlet.doGet(HttpServletRequest, HttpServletResponse): String.getBytes() I18N DM_DEFAULT_ENCODING 122 High

org.andromda.presentation.jsf.FormPopulator

Bug Category Details Line Priority
Possible null pointer dereference of null in org.andromda.presentation.jsf.FormPopulator.populateFormFromPropertyMap(Object, Map, Map, String[], boolean, boolean) CORRECTNESS NP_NULL_ON_SOME_PATH 273 Medium
org.andromda.presentation.jsf.FormPopulator.populateForm(Object, Object, boolean) makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 89 Medium

org.andromda.presentation.jsf.JsfUtils

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.andromda.presentation.jsf.JsfUtils.getSerializedForm(FacesContext) STYLE REC_CATCH_EXCEPTION 132 Medium
Exceptional return value of java.io.File.delete() ignored in org.andromda.presentation.jsf.JsfUtils.deleteSerializedForm(FacesContext) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 165 Medium
Exceptional return value of java.io.File.mkdirs() ignored in org.andromda.presentation.jsf.JsfUtils.serializeForm(FacesContext, Object) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 86 Medium

org.andromda.presentation.jsf.ODSFilter

Bug Category Details Line Priority
org.andromda.presentation.jsf.ODSFilter.doFilter(ServletRequest, ServletResponse, FilterChain) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 271 Medium

org.andromda.presentation.jsf.ODSFilter$ODSOutputStream

Bug Category Details Line Priority
Should org.andromda.presentation.jsf.ODSFilter$ODSOutputStream be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 58-70 Medium

org.andromda.presentation.jsf.ODSFilter$ODSResponseWrapper

Bug Category Details Line Priority
Found reliance on default encoding in new org.andromda.presentation.jsf.ODSFilter$ODSResponseWrapper(ODSFilter, HttpServletResponse): new java.io.PrintWriter(OutputStream) I18N DM_DEFAULT_ENCODING 95 High

org.andromda.timetracker.web.timecarddetails.TimecardDetailsFormImpl

Bug Category Details Line Priority
The field org.andromda.timetracker.web.timecarddetails.TimecardDetailsFormImpl.jsfMessages is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

org.andromda.timetracker.web.timecarddetails.TimecardPopulator

Bug Category Details Line Priority
Dead store to variableResolver in org.andromda.timetracker.web.timecarddetails.TimecardPopulator.populateFormAndViewVariables(FacesContext, Object) STYLE DLS_DEAD_LOCAL_STORE 76 Medium

org.andromda.timetracker.web.timecardsearch.SearchControllerImpl

Bug Category Details Line Priority
tsd is null guaranteed to be dereferenced in org.andromda.timetracker.web.timecardsearch.SearchControllerImpl.populateSearchScreen(PopulateSearchScreenForm) on exception path CORRECTNESS NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH 106 Medium
Possible null pointer dereference of usd in org.andromda.timetracker.web.timecardsearch.SearchControllerImpl.populateSearchScreen(PopulateSearchScreenForm) on exception path CORRECTNESS NP_NULL_ON_SOME_PATH_EXCEPTION 57 Medium

org.andromda.timetracker.web.timecardsearch.SearchTimecardsDetailsFormImpl

Bug Category Details Line Priority
The field org.andromda.timetracker.web.timecardsearch.SearchTimecardsDetailsFormImpl.jsfMessages is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

org.andromda.timetracker.web.timecardsearch.SearchTimecardsFormImpl

Bug Category Details Line Priority
The field org.andromda.timetracker.web.timecardsearch.SearchTimecardsFormImpl.jsfMessages is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

org.andromda.timetracker.web.timecardsearch.SearchTimecardsSearchFormImpl

Bug Category Details Line Priority
The field org.andromda.timetracker.web.timecardsearch.SearchTimecardsSearchFormImpl.jsfMessages is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium