Fork me on GitHub

Rapport FindBugs de détection des bugs

Le document suivant contient les résultats du FindBugs

La version de FindBugs est 3.0.1

La limite est

L'effort est max

Résumé

Classes Bugs Erreurs Classes Manquantes
16 11 0 0

Fichiers

Classe Bugs
fr.paris.lutece.plugins.links.business.Link 5
fr.paris.lutece.plugins.links.util.LinksImageProvider 1
fr.paris.lutece.plugins.links.web.LinksLibraryJspBean 3
fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean 2

fr.paris.lutece.plugins.links.business.Link

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.links.business.Link.getDate() may expose internal representation by returning Link._date MALICIOUS_CODE EI_EXPOSE_REP 200 Medium
fr.paris.lutece.plugins.links.business.Link.getImageContent() may expose internal representation by returning Link._imageContent MALICIOUS_CODE EI_EXPOSE_REP 336 Medium
fr.paris.lutece.plugins.links.business.Link.setDate(Date) may expose internal representation by storing an externally mutable object into Link._date MALICIOUS_CODE EI_EXPOSE_REP2 190 Medium
fr.paris.lutece.plugins.links.business.Link.setImageContent(byte[]) may expose internal representation by storing an externally mutable object into Link._imageContent MALICIOUS_CODE EI_EXPOSE_REP2 346 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.links.business.Link._listenerWorkgroup in fr.paris.lutece.plugins.links.business.Link.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 96-98 Medium

fr.paris.lutece.plugins.links.util.LinksImageProvider

Bug Catégorie Détails Ligne Priorité
Write to static field fr.paris.lutece.plugins.links.util.LinksImageProvider._singleton from instance method new fr.paris.lutece.plugins.links.util.LinksImageProvider() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 54 High

fr.paris.lutece.plugins.links.web.LinksLibraryJspBean

Bug Catégorie Détails Ligne Priorité
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.LinksLibraryJspBean.getCreateLink(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 320 Medium
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.LinksLibraryJspBean.getModifyLink(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 387 Medium
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.LinksLibraryJspBean.getUrlsListFromMultipart(String, MultipartHttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 665 Medium

fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean

Bug Catégorie Détails Ligne Priorité
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean.getLinksInPortletList(int) STYLE DLS_DEAD_LOCAL_STORE 315 Medium
fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean.getLinksInPortletList(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead PERFORMANCE DM_NUMBER_CTOR 320 Medium