Fork me on GitHub

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is max

Summary

Classes Bugs Errors Missing Classes
82 14 0 43

Files

Class 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 Category Details Line Priority
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 Category Details Line Priority
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 Category Details Line Priority
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 Category Details Line Priority
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 Category Details Line Priority
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 Category Details Line Priority
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