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
82 14 0 43

Fichiers

Classe Bugs
fr.paris.lutece.plugins.announce.business.Announce 4
fr.paris.lutece.plugins.announce.business.AnnounceSearchFilter 4
fr.paris.lutece.plugins.announce.service.EntryService 1
fr.paris.lutece.plugins.announce.service.announcesearch.AnnounceLuceneSearchEngine 2
fr.paris.lutece.plugins.announce.service.announcesearch.DefaultAnnounceIndexer 1
fr.paris.lutece.plugins.announce.web.AnnounceApp 2

fr.paris.lutece.plugins.announce.business.Announce

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.announce.business.Announce.getDateCreation() may expose internal representation by returning Announce._dateCreation MALICIOUS_CODE EI_EXPOSE_REP 344 Medium
fr.paris.lutece.plugins.announce.business.Announce.getDateModification() may expose internal representation by returning Announce._dateModification MALICIOUS_CODE EI_EXPOSE_REP 365 Medium
fr.paris.lutece.plugins.announce.business.Announce.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into Announce._dateCreation MALICIOUS_CODE EI_EXPOSE_REP2 355 Medium
fr.paris.lutece.plugins.announce.business.Announce.setDateModification(Timestamp) may expose internal representation by storing an externally mutable object into Announce._dateModification MALICIOUS_CODE EI_EXPOSE_REP2 376 Medium

fr.paris.lutece.plugins.announce.business.AnnounceSearchFilter

Bug Catégorie Détails Ligne Priorité
fr.paris.lutece.plugins.announce.business.AnnounceSearchFilter.getDateMax() may expose internal representation by returning AnnounceSearchFilter._dateMax MALICIOUS_CODE EI_EXPOSE_REP 164 Medium
fr.paris.lutece.plugins.announce.business.AnnounceSearchFilter.getDateMin() may expose internal representation by returning AnnounceSearchFilter._dateMin MALICIOUS_CODE EI_EXPOSE_REP 143 Medium
fr.paris.lutece.plugins.announce.business.AnnounceSearchFilter.setDateMax(Date) may expose internal representation by storing an externally mutable object into AnnounceSearchFilter._dateMax MALICIOUS_CODE EI_EXPOSE_REP2 175 Medium
fr.paris.lutece.plugins.announce.business.AnnounceSearchFilter.setDateMin(Date) may expose internal representation by storing an externally mutable object into AnnounceSearchFilter._dateMin MALICIOUS_CODE EI_EXPOSE_REP2 154 Medium

fr.paris.lutece.plugins.announce.service.EntryService

Bug Catégorie Détails Ligne Priorité
Suspicious comparison of Integer references in fr.paris.lutece.plugins.announce.service.EntryService.moveUpEntryOrder(int, Entry) CORRECTNESS RC_REF_COMPARISON 209 High

fr.paris.lutece.plugins.announce.service.announcesearch.AnnounceLuceneSearchEngine

Bug Catégorie Détails Ligne Priorité
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.announce.service.announcesearch.AnnounceLuceneSearchEngine.getSearchResults(AnnounceSearchFilter, Plugin, List, int, int) STYLE REC_CATCH_EXCEPTION 203 Medium
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.announce.service.announcesearch.AnnounceLuceneSearchEngine.getSearchResultsBis(AnnounceSearchFilter, Plugin, List, int, int, AnnounceSort) STYLE REC_CATCH_EXCEPTION 363 Medium

fr.paris.lutece.plugins.announce.service.announcesearch.DefaultAnnounceIndexer

Bug Catégorie Détails Ligne Priorité
Found reliance on default encoding in fr.paris.lutece.plugins.announce.service.announcesearch.DefaultAnnounceIndexer.getDocument(Announce, String, Plugin): String.getBytes() I18N DM_DEFAULT_ENCODING 307 High

fr.paris.lutece.plugins.announce.web.AnnounceApp

Bug Catégorie Détails Ligne Priorité
Possible null pointer dereference of listAnnounces in fr.paris.lutece.plugins.announce.web.AnnounceApp.getViewUserAnnounces(HttpServletRequest) CORRECTNESS NP_NULL_ON_SOME_PATH 808 Medium
Redundant nullcheck of strUserInfo, which is known to be non-null in fr.paris.lutece.plugins.announce.web.AnnounceApp.getViewUserAnnounces(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 830 Medium