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
41 19 0 34

Fichiers

Classe Bugs
fr.paris.lutece.plugins.helpdesk.business.Faq 2
fr.paris.lutece.plugins.helpdesk.business.QuestionAnswer 2
fr.paris.lutece.plugins.helpdesk.business.Theme 1
fr.paris.lutece.plugins.helpdesk.business.VisitorQuestion 2
fr.paris.lutece.plugins.helpdesk.service.helpdesksearch.HelpdeskLuceneSearchEngine 2
fr.paris.lutece.plugins.helpdesk.service.search.HelpdeskIndexer 1
fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean 6
fr.paris.lutece.plugins.helpdesk.web.HelpdeskSearchJspBean 3

fr.paris.lutece.plugins.helpdesk.business.Faq

Bug Catégorie Détails Ligne Priorité
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.helpdesk.business.Faq._listenerRole in fr.paris.lutece.plugins.helpdesk.business.Faq.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 78-80 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.helpdesk.business.Faq._listenerWorkgroup in fr.paris.lutece.plugins.helpdesk.business.Faq.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 72-74 Medium

fr.paris.lutece.plugins.helpdesk.business.QuestionAnswer

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.helpdesk.business.QuestionAnswer.getCreationDate() may expose internal representation by returning QuestionAnswer._dateCreation MALICIOUS_CODE EI_EXPOSE_REP 175 Medium
fr.paris.lutece.plugins.helpdesk.business.QuestionAnswer.setCreationDate(Date) may expose internal representation by storing an externally mutable object into QuestionAnswer._dateCreation MALICIOUS_CODE EI_EXPOSE_REP2 183 Medium

fr.paris.lutece.plugins.helpdesk.business.Theme

Bug Catégorie Détails Ligne Priorité
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.helpdesk.business.Theme._listenerMailinglist in fr.paris.lutece.plugins.helpdesk.business.Theme.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 64-66 Medium

fr.paris.lutece.plugins.helpdesk.business.VisitorQuestion

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.helpdesk.business.VisitorQuestion.getDate() may expose internal representation by returning VisitorQuestion._dateVQ MALICIOUS_CODE EI_EXPOSE_REP 184 Medium
fr.paris.lutece.plugins.helpdesk.business.VisitorQuestion.setDate(Date) may expose internal representation by storing an externally mutable object into VisitorQuestion._dateVQ MALICIOUS_CODE EI_EXPOSE_REP2 174 Medium

fr.paris.lutece.plugins.helpdesk.service.helpdesksearch.HelpdeskLuceneSearchEngine

Bug Catégorie Détails Ligne Priorité
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.helpdesk.service.helpdesksearch.HelpdeskLuceneSearchEngine.getSearchResults(int, String, Date, Date, Subject, boolean, HttpServletRequest) STYLE REC_CATCH_EXCEPTION 208 Medium
fr.paris.lutece.plugins.helpdesk.service.helpdesksearch.HelpdeskLuceneSearchEngine.getSearchResults(int, String, Date, Date, Subject, boolean, HttpServletRequest) concatenates strings using + in a loop PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 163 Medium

fr.paris.lutece.plugins.helpdesk.service.search.HelpdeskIndexer

Bug Catégorie Détails Ligne Priorité
Found reliance on default encoding in fr.paris.lutece.plugins.helpdesk.service.search.HelpdeskIndexer.getDocument(int, QuestionAnswer, String, String, Plugin): String.getBytes() I18N DM_DEFAULT_ENCODING 312 High

fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean

Bug Catégorie Détails Ligne Priorité
Possible null pointer dereference of questionAnswer in fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean.doPublishQuestionAnswer(HttpServletRequest) CORRECTNESS NP_NULL_ON_SOME_PATH 1126 Medium
Possible null pointer dereference of questionAnswer in fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean.doUnpublishQuestionAnswer(HttpServletRequest) CORRECTNESS NP_NULL_ON_SOME_PATH 1164 Medium
Redundant nullcheck of listQuestionAnswers, which is known to be non-null in fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean.doConfirmImportQuestionAnswerList(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1724 Medium
Redundant nullcheck of faq, which is known to be non-null in fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean.doCreateTheme(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2029 Medium
Redundant nullcheck of listQuestionAnswers, which is known to be non-null in fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean.doImportQuestionAnswerList(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 1768 Medium
Redundant nullcheck of faq, which is known to be non-null in fr.paris.lutece.plugins.helpdesk.web.HelpdeskJspBean.doModifyFaq(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 2411 Medium

fr.paris.lutece.plugins.helpdesk.web.HelpdeskSearchJspBean

Bug Catégorie Détails Ligne Priorité
Dead store to plugin in fr.paris.lutece.plugins.helpdesk.web.HelpdeskSearchJspBean.getCSVListFromRequest(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 285 Medium
Dead store to nPageIndex in fr.paris.lutece.plugins.helpdesk.web.HelpdeskSearchJspBean.getSearch(HttpServletRequest) STYLE DLS_DEAD_LOCAL_STORE 159 Medium
Found reliance on default encoding in fr.paris.lutece.plugins.helpdesk.web.HelpdeskSearchJspBean.doExportQuestionCSV(HttpServletRequest, HttpServletResponse): String.getBytes() I18N DM_DEFAULT_ENCODING 253 High