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
76 28 0 55

Fichiers

Classe Bugs
fr.paris.lutece.plugins.blog.business.Blog 4
fr.paris.lutece.plugins.blog.business.BlogFilter 4
fr.paris.lutece.plugins.blog.business.BlogSearchFilter 6
fr.paris.lutece.plugins.blog.business.DocContent 2
fr.paris.lutece.plugins.blog.business.portlet.BlogPublication 4
fr.paris.lutece.plugins.blog.business.portlet.PortletFilter 4
fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService 1
fr.paris.lutece.plugins.blog.service.docsearch.DefaultBlogIndexer 1
fr.paris.lutece.plugins.blog.service.search.BlogSearchIndexer 1
fr.paris.lutece.plugins.blog.web.BlogFileServlet 1

fr.paris.lutece.plugins.blog.business.Blog

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.blog.business.Blog.getCreationDate() may expose internal representation by returning Blog._dateCreationDate MALICIOUS_CODE EI_EXPOSE_REP 191 Medium
fr.paris.lutece.plugins.blog.business.Blog.getUpdateDate() may expose internal representation by returning Blog._dateUpdateDate MALICIOUS_CODE EI_EXPOSE_REP 212 Medium
fr.paris.lutece.plugins.blog.business.Blog.setCreationDate(Timestamp) may expose internal representation by storing an externally mutable object into Blog._dateCreationDate MALICIOUS_CODE EI_EXPOSE_REP2 202 Medium
fr.paris.lutece.plugins.blog.business.Blog.setUpdateDate(Timestamp) may expose internal representation by storing an externally mutable object into Blog._dateUpdateDate MALICIOUS_CODE EI_EXPOSE_REP2 223 Medium

fr.paris.lutece.plugins.blog.business.BlogFilter

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.blog.business.BlogFilter.getIds() may expose internal representation by returning BlogFilter._arrayId MALICIOUS_CODE EI_EXPOSE_REP 96 Medium
fr.paris.lutece.plugins.blog.business.BlogFilter.getTagsId() may expose internal representation by returning BlogFilter._arrayTagsId MALICIOUS_CODE EI_EXPOSE_REP 59 Medium
fr.paris.lutece.plugins.blog.business.BlogFilter.setIds(Integer[]) may expose internal representation by storing an externally mutable object into BlogFilter._arrayId MALICIOUS_CODE EI_EXPOSE_REP2 105 Medium
fr.paris.lutece.plugins.blog.business.BlogFilter.setTagsId(Integer[]) may expose internal representation by storing an externally mutable object into BlogFilter._arrayTagsId MALICIOUS_CODE EI_EXPOSE_REP2 68 Medium

fr.paris.lutece.plugins.blog.business.BlogSearchFilter

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.blog.business.BlogSearchFilter.getTag() may expose internal representation by returning BlogSearchFilter._strTag MALICIOUS_CODE EI_EXPOSE_REP 101 Medium
fr.paris.lutece.plugins.blog.business.BlogSearchFilter.getUpdateDateAfter() may expose internal representation by returning BlogSearchFilter._dateUpdateDateAfter MALICIOUS_CODE EI_EXPOSE_REP 182 Medium
fr.paris.lutece.plugins.blog.business.BlogSearchFilter.getUpdateDateBefor() may expose internal representation by returning BlogSearchFilter._dateUpdateDateBefor MALICIOUS_CODE EI_EXPOSE_REP 203 Medium
fr.paris.lutece.plugins.blog.business.BlogSearchFilter.setTag(String[]) may expose internal representation by storing an externally mutable object into BlogSearchFilter._strTag MALICIOUS_CODE EI_EXPOSE_REP2 112 Medium
fr.paris.lutece.plugins.blog.business.BlogSearchFilter.setUpdateDateAfter(Date) may expose internal representation by storing an externally mutable object into BlogSearchFilter._dateUpdateDateAfter MALICIOUS_CODE EI_EXPOSE_REP2 193 Medium
fr.paris.lutece.plugins.blog.business.BlogSearchFilter.setUpdateDateBefor(Date) may expose internal representation by storing an externally mutable object into BlogSearchFilter._dateUpdateDateBefor MALICIOUS_CODE EI_EXPOSE_REP2 214 Medium

fr.paris.lutece.plugins.blog.business.DocContent

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.blog.business.DocContent.getBinaryValue() may expose internal representation by returning DocContent._bytes MALICIOUS_CODE EI_EXPOSE_REP 118 Medium
fr.paris.lutece.plugins.blog.business.DocContent.setBinaryValue(byte[]) may expose internal representation by storing an externally mutable object into DocContent._bytes MALICIOUS_CODE EI_EXPOSE_REP2 108 Medium

fr.paris.lutece.plugins.blog.business.portlet.BlogPublication

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.blog.business.portlet.BlogPublication.getDateBeginPublishing() may expose internal representation by returning BlogPublication._dateBeginPublishing MALICIOUS_CODE EI_EXPOSE_REP 98 Medium
fr.paris.lutece.plugins.blog.business.portlet.BlogPublication.getDateEndPublishing() may expose internal representation by returning BlogPublication._dateEndPublishing MALICIOUS_CODE EI_EXPOSE_REP 115 Medium
fr.paris.lutece.plugins.blog.business.portlet.BlogPublication.setDateBeginPublishing(Date) may expose internal representation by storing an externally mutable object into BlogPublication._dateBeginPublishing MALICIOUS_CODE EI_EXPOSE_REP2 107 Medium
fr.paris.lutece.plugins.blog.business.portlet.BlogPublication.setDateEndPublishing(Date) may expose internal representation by storing an externally mutable object into BlogPublication._dateEndPublishing MALICIOUS_CODE EI_EXPOSE_REP2 124 Medium

fr.paris.lutece.plugins.blog.business.portlet.PortletFilter

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.blog.business.portlet.PortletFilter.getPageName() may expose internal representation by returning PortletFilter._aPageName MALICIOUS_CODE EI_EXPOSE_REP 80 Medium
fr.paris.lutece.plugins.blog.business.portlet.PortletFilter.getPortletName() may expose internal representation by returning PortletFilter._aPortletName MALICIOUS_CODE EI_EXPOSE_REP 101 Medium
fr.paris.lutece.plugins.blog.business.portlet.PortletFilter.setPageName(String[]) may expose internal representation by storing an externally mutable object into PortletFilter._aPageName MALICIOUS_CODE EI_EXPOSE_REP2 70 Medium
fr.paris.lutece.plugins.blog.business.portlet.PortletFilter.setPortletName(String[]) may expose internal representation by storing an externally mutable object into PortletFilter._aPortletName MALICIOUS_CODE EI_EXPOSE_REP2 91 Medium

fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService

Bug Catégorie Détails Ligne Priorité
Incorrect lazy initialization of static field fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService._singleton in fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService.getInstance() MT_CORRECTNESS LI_LAZY_INIT_STATIC 144-146 Medium

fr.paris.lutece.plugins.blog.service.docsearch.DefaultBlogIndexer

Bug Catégorie Détails Ligne Priorité
Found reliance on default encoding in fr.paris.lutece.plugins.blog.service.docsearch.DefaultBlogIndexer.getDocument(Blog): String.getBytes() I18N DM_DEFAULT_ENCODING 240 High

fr.paris.lutece.plugins.blog.service.search.BlogSearchIndexer

Bug Catégorie Détails Ligne Priorité
Redundant nullcheck of doc, which is known to be non-null in fr.paris.lutece.plugins.blog.service.search.BlogSearchIndexer.getDocuments(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 151 Medium

fr.paris.lutece.plugins.blog.web.BlogFileServlet

Bug Catégorie Détails Ligne Priorité
Nullcheck of os at line 106 of value previously dereferenced in fr.paris.lutece.plugins.blog.web.BlogFileServlet.processRequest(HttpServletRequest, HttpServletResponse) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 106 Medium