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
27 6 0 0

fr.paris.lutece.plugins.sponsoredlinks.business.SponsoredLink

Bug Category Details Line Priority
fr.paris.lutece.plugins.sponsoredlinks.business.SponsoredLink defines compareTo(SponsoredLink) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 123-137 Medium

fr.paris.lutece.plugins.sponsoredlinks.service.SponsoredLinksService

Bug Category Details Line Priority
La méthode fr.paris.lutece.plugins.sponsoredlinks.service.SponsoredLinksService.getHtmlCode(String, Locale) fait une utilisation inefficace d'un itérateur sur keySet au lieu d'un itérateur sur entrySet PERFORMANCE WMI_WRONG_MAP_ITERATOR 91 Medium

fr.paris.lutece.plugins.sponsoredlinks.service.SponsoredLinksSetResourceIdService

Bug Category Details Line Priority
Test de nullité redondant sur une valeur non nulle dans fr.paris.lutece.plugins.sponsoredlinks.service.SponsoredLinksSetResourceIdService.getTitle(String, Locale) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 111 Medium

fr.paris.lutece.plugins.sponsoredlinks.service.search.SponsoredLinksIndexer

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.sponsoredlinks.service.search.SponsoredLinksIndexer.getDocuments(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 134 High
Test de nullité redondant sur une valeur non nulle dans fr.paris.lutece.plugins.sponsoredlinks.service.search.SponsoredLinksIndexer.getDocuments(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 139 Medium

fr.paris.lutece.plugins.sponsoredlinks.service.sponsoredlinkssearch.SponsoredLinksLuceneSearchEngine

Bug Category Details Line Priority
Useless object stored in variable filters of method fr.paris.lutece.plugins.sponsoredlinks.service.sponsoredlinkssearch.SponsoredLinksLuceneSearchEngine.getSearchResults(String) STYLE UC_USELESS_OBJECT 93 Medium