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
34 9 0 24

Files

Class Bugs
fr.paris.lutece.plugins.seo.business.FriendlyUrl 5
fr.paris.lutece.plugins.seo.service.CanonicalUrlService 1
fr.paris.lutece.plugins.seo.service.FriendlyUrlService 1
fr.paris.lutece.plugins.seo.service.sitemap.SitemapUtils 2

fr.paris.lutece.plugins.seo.business.FriendlyUrl

Bug Category Details Line Priority
fr.paris.lutece.plugins.seo.business.FriendlyUrl.getDateCreation() may expose internal representation by returning FriendlyUrl._dateCreation MALICIOUS_CODE EI_EXPOSE_REP 125 Medium
fr.paris.lutece.plugins.seo.business.FriendlyUrl.getDateModification() may expose internal representation by returning FriendlyUrl._dateModification MALICIOUS_CODE EI_EXPOSE_REP 146 Medium
fr.paris.lutece.plugins.seo.business.FriendlyUrl.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into FriendlyUrl._dateCreation MALICIOUS_CODE EI_EXPOSE_REP2 136 Medium
fr.paris.lutece.plugins.seo.business.FriendlyUrl.setDateModification(Timestamp) may expose internal representation by storing an externally mutable object into FriendlyUrl._dateModification MALICIOUS_CODE EI_EXPOSE_REP2 157 Medium
fr.paris.lutece.plugins.seo.business.FriendlyUrl defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 271 Medium

fr.paris.lutece.plugins.seo.service.CanonicalUrlService

Bug Category Details Line Priority
Write to static field fr.paris.lutece.plugins.seo.service.CanonicalUrlService._bCanonical from instance method fr.paris.lutece.plugins.seo.service.CanonicalUrlService.setCanonicalUrlsEnabled(boolean) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 91 High

fr.paris.lutece.plugins.seo.service.FriendlyUrlService

Bug Category Details Line Priority
Write to static field fr.paris.lutece.plugins.seo.service.FriendlyUrlService._bReplaceUrl from instance method fr.paris.lutece.plugins.seo.service.FriendlyUrlService.setUrlReplaceEnabled(boolean) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 152 High

fr.paris.lutece.plugins.seo.service.sitemap.SitemapUtils

Bug Category Details Line Priority
fr.paris.lutece.plugins.seo.service.sitemap.SitemapUtils.CHANGE_FREQ_VALUES is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 47 High
fr.paris.lutece.plugins.seo.service.sitemap.SitemapUtils.PRIORITY_VALUES is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 50 High