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
70 33 0 0

Fichiers

Classe Bugs
fr.paris.lutece.plugins.blog.business.Blog 5
fr.paris.lutece.plugins.blog.business.BlogFilter 4
fr.paris.lutece.plugins.blog.business.BlogSearchFilter 6
fr.paris.lutece.plugins.blog.business.DocContent 3
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 2
fr.paris.lutece.plugins.blog.service.docsearch.DefaultBlogIndexer 1
fr.paris.lutece.plugins.blog.service.search.BlogSearchIndexer 1
fr.paris.lutece.plugins.blog.web.BlogJspBean 1
fr.paris.lutece.plugins.blog.web.BlogPublicationJspBean 1
fr.paris.lutece.plugins.blog.web.portlet.BlogListPortletJspBean 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 193 Medium
fr.paris.lutece.plugins.blog.business.Blog.getUpdateDate() may expose internal representation by returning Blog._dateUpdateDate MALICIOUS_CODE EI_EXPOSE_REP 214 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 204 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 225 Medium
Class fr.paris.lutece.plugins.blog.business.Blog defines non-transient non-serializable instance field _blogPublication BAD_PRACTICE SE_BAD_FIELD Non disponible High

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
Class fr.paris.lutece.plugins.blog.business.DocContent defines non-transient non-serializable instance field _contentType BAD_PRACTICE SE_BAD_FIELD Non disponible High

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 147-149 Medium
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.blog.service.docsearch.BlogSearchService.getSearchResults(BlogSearchFilter, Plugin, List) STYLE REC_CATCH_EXCEPTION 410 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.BlogJspBean

Bug Catégorie Détails Ligne Priorité
Class fr.paris.lutece.plugins.blog.web.BlogJspBean defines non-transient non-serializable instance field _blogServiceSession BAD_PRACTICE SE_BAD_FIELD Non disponible Medium

fr.paris.lutece.plugins.blog.web.BlogPublicationJspBean

Bug Catégorie Détails Ligne Priorité
Class fr.paris.lutece.plugins.blog.web.BlogPublicationJspBean defines non-transient non-serializable instance field _blogPublication BAD_PRACTICE SE_BAD_FIELD Non disponible Medium

fr.paris.lutece.plugins.blog.web.portlet.BlogListPortletJspBean

Bug Catégorie Détails Ligne Priorité
Class fr.paris.lutece.plugins.blog.web.portlet.BlogListPortletJspBean defines non-transient non-serializable instance field _portlet BAD_PRACTICE SE_BAD_FIELD Non disponible Medium