Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
63 19 0 0

Files

Class Bugs
fr.paris.lutece.plugins.myportal.business.WidgetDAO 7
fr.paris.lutece.plugins.myportal.business.icon.Icon 2
fr.paris.lutece.plugins.myportal.web.CategoryJspBean 1
fr.paris.lutece.plugins.myportal.web.DefaultPageBuilderJspBean 1
fr.paris.lutece.plugins.myportal.web.IconJspBean 1
fr.paris.lutece.plugins.myportal.web.MyPortalApp 4
fr.paris.lutece.plugins.myportal.web.WidgetJspBean 3

fr.paris.lutece.plugins.myportal.business.WidgetDAO

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.getPublicMandatoryWidgets(Plugin): new String(byte[]) I18N DM_DEFAULT_ENCODING 290 High
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.getWidgetsByFilter(WidgetFilter, Plugin): new String(byte[]) I18N DM_DEFAULT_ENCODING 330 High
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.getWidgetsByFilter(WidgetFilter, Plugin): String.getBytes() I18N DM_DEFAULT_ENCODING 330 High
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.insert(Widget, Plugin): String.getBytes() I18N DM_DEFAULT_ENCODING 126 High
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.load(int, Plugin): new String(byte[]) I18N DM_DEFAULT_ENCODING 164 High
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.selectWidgetsList(Plugin): new String(byte[]) I18N DM_DEFAULT_ENCODING 251 High
Found reliance on default encoding in fr.paris.lutece.plugins.myportal.business.WidgetDAO.store(Widget, Plugin): String.getBytes() I18N DM_DEFAULT_ENCODING 214 High

fr.paris.lutece.plugins.myportal.business.icon.Icon

Bug Category Details Line Priority
fr.paris.lutece.plugins.myportal.business.icon.Icon.getValue() may expose internal representation by returning Icon._byValue MALICIOUS_CODE EI_EXPOSE_REP 99 Medium
fr.paris.lutece.plugins.myportal.business.icon.Icon.setValue(byte[]) may expose internal representation by storing an externally mutable object into Icon._byValue MALICIOUS_CODE EI_EXPOSE_REP2 110 Medium

fr.paris.lutece.plugins.myportal.web.CategoryJspBean

Bug Category Details Line Priority
Class fr.paris.lutece.plugins.myportal.web.CategoryJspBean defines non-transient non-serializable instance field _categoryService BAD_PRACTICE SE_BAD_FIELD Not available Medium

fr.paris.lutece.plugins.myportal.web.DefaultPageBuilderJspBean

Bug Category Details Line Priority
Class fr.paris.lutece.plugins.myportal.web.DefaultPageBuilderJspBean defines non-transient non-serializable instance field _service BAD_PRACTICE SE_BAD_FIELD Not available Medium

fr.paris.lutece.plugins.myportal.web.IconJspBean

Bug Category Details Line Priority
Dead store to nIdIcon in fr.paris.lutece.plugins.myportal.web.IconJspBean.getConfirmRemoveIcon(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 271 Medium

fr.paris.lutece.plugins.myportal.web.MyPortalApp

Bug Category Details Line Priority
Class fr.paris.lutece.plugins.myportal.web.MyPortalApp defines non-transient non-serializable instance field _categoryService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.myportal.web.MyPortalApp defines non-transient non-serializable instance field _defaultPageBuilderService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.myportal.web.MyPortalApp defines non-transient non-serializable instance field _pageService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.myportal.web.MyPortalApp defines non-transient non-serializable instance field _widgetService BAD_PRACTICE SE_BAD_FIELD Not available Medium

fr.paris.lutece.plugins.myportal.web.WidgetJspBean

Bug Category Details Line Priority
Dead store to bUpdateIcon in fr.paris.lutece.plugins.myportal.web.WidgetJspBean.doModifyWidget(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 382 Medium
Class fr.paris.lutece.plugins.myportal.web.WidgetJspBean defines non-transient non-serializable instance field _categoryService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.myportal.web.WidgetJspBean defines non-transient non-serializable instance field _widgetService BAD_PRACTICE SE_BAD_FIELD Not available Medium