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
56 12 0 26

Files

Class Bugs
fr.paris.lutece.plugins.quicklinks.business.EntryInternalLink 1
fr.paris.lutece.plugins.quicklinks.business.EntrySelect 1
fr.paris.lutece.plugins.quicklinks.business.EntryText 1
fr.paris.lutece.plugins.quicklinks.business.EntryUrl 3
fr.paris.lutece.plugins.quicklinks.business.Quicklinks 1
fr.paris.lutece.plugins.quicklinks.business.QuicklinksDAO 1
fr.paris.lutece.plugins.quicklinks.business.QuicklinksFilter 2
fr.paris.lutece.plugins.quicklinks.web.InternalLinkInsertServiceJspBean 1
fr.paris.lutece.plugins.quicklinks.web.QuicklinksInclude 1

fr.paris.lutece.plugins.quicklinks.business.EntryInternalLink

Bug Category Details Line Priority
fr.paris.lutece.plugins.quicklinks.business.EntryInternalLink.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 75-83 Medium

fr.paris.lutece.plugins.quicklinks.business.EntrySelect

Bug Category Details Line Priority
fr.paris.lutece.plugins.quicklinks.business.EntrySelect.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 92-100 Medium

fr.paris.lutece.plugins.quicklinks.business.EntryText

Bug Category Details Line Priority
fr.paris.lutece.plugins.quicklinks.business.EntryText.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 85-93 Medium

fr.paris.lutece.plugins.quicklinks.business.EntryUrl

Bug Category Details Line Priority
fr.paris.lutece.plugins.quicklinks.business.EntryUrl.clone() does not call super.clone() BAD_PRACTICE CN_IDIOM_NO_SUPER_CALL 203-217 Medium
fr.paris.lutece.plugins.quicklinks.business.EntryUrl.getImage() may expose internal representation by returning EntryUrl._bytesImage MALICIOUS_CODE EI_EXPOSE_REP 137 Medium
fr.paris.lutece.plugins.quicklinks.business.EntryUrl.setImage(byte[]) may expose internal representation by storing an externally mutable object into EntryUrl._bytesImage MALICIOUS_CODE EI_EXPOSE_REP2 146 Medium

fr.paris.lutece.plugins.quicklinks.business.Quicklinks

Bug Category Details Line Priority
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.quicklinks.business.Quicklinks._listenerWorkgroup in fr.paris.lutece.plugins.quicklinks.business.Quicklinks.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 99-101 Medium

fr.paris.lutece.plugins.quicklinks.business.QuicklinksDAO

Bug Category Details Line Priority
Invocation of toString on QuicklinksFilter.getRoleKeys() in fr.paris.lutece.plugins.quicklinks.business.QuicklinksDAO.getDaoFromFilter(String, QuicklinksFilter, Plugin) CORRECTNESS DMI_INVOKING_TOSTRING_ON_ARRAY 315 High

fr.paris.lutece.plugins.quicklinks.business.QuicklinksFilter

Bug Category Details Line Priority
fr.paris.lutece.plugins.quicklinks.business.QuicklinksFilter.getRoleKeys() may expose internal representation by returning QuicklinksFilter._arrayRoleKey MALICIOUS_CODE EI_EXPOSE_REP 52 Medium
fr.paris.lutece.plugins.quicklinks.business.QuicklinksFilter.setRoleKeys(String[]) may expose internal representation by storing an externally mutable object into QuicklinksFilter._arrayRoleKey MALICIOUS_CODE EI_EXPOSE_REP2 64 Medium

fr.paris.lutece.plugins.quicklinks.web.InternalLinkInsertServiceJspBean

Bug Category Details Line Priority
The field fr.paris.lutece.plugins.quicklinks.web.InternalLinkInsertServiceJspBean._pageService is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

fr.paris.lutece.plugins.quicklinks.web.QuicklinksInclude

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.quicklinks.web.QuicklinksInclude.getTemplateHtmlForQuicklinks(Quicklinks, Plugin, Locale): String.getBytes() I18N DM_DEFAULT_ENCODING 141 High