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
33 8 0 41

Files

Class Bugs
fr.paris.lutece.plugins.lutecetools.service.GitHubService 2
fr.paris.lutece.plugins.lutecetools.service.Globals 1
fr.paris.lutece.plugins.lutecetools.service.PomService 1
fr.paris.lutece.plugins.lutecetools.service.SiteInfoService 1
fr.paris.lutece.plugins.lutecetools.service.version.Version 1
fr.paris.lutece.plugins.lutecetools.web.PomUpdateApp 1
fr.paris.lutece.plugins.lutecetools.web.rs.JenkinsRest 1

fr.paris.lutece.plugins.lutecetools.service.GitHubService

Bug Category Details Line Priority
Incorrect lazy initialization of static field fr.paris.lutece.plugins.lutecetools.service.GitHubService._mapRepositories in fr.paris.lutece.plugins.lutecetools.service.GitHubService.getGitHubRepository(Component) MT_CORRECTNESS LI_LAZY_INIT_STATIC 175-177 Medium
Write to static field fr.paris.lutece.plugins.lutecetools.service.GitHubService._strParentPomVersion from instance method new fr.paris.lutece.plugins.lutecetools.service.GitHubService() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 82 Medium

fr.paris.lutece.plugins.lutecetools.service.Globals

Bug Category Details Line Priority
fr.paris.lutece.plugins.lutecetools.service.Globals._strWarningPomMessage isn't final and can't be protected from malicious code MALICIOUS_CODE MS_CANNOT_BE_FINAL 38 Medium

fr.paris.lutece.plugins.lutecetools.service.PomService

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.lutecetools.service.PomService.getLuteceDependencies(Component, String, boolean, StringBuilder): String.getBytes() I18N DM_DEFAULT_ENCODING 117 High

fr.paris.lutece.plugins.lutecetools.service.SiteInfoService

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.lutecetools.service.SiteInfoService.getSiteInfos(Component, String, String, StringBuilder): String.getBytes() I18N DM_DEFAULT_ENCODING 126 High

fr.paris.lutece.plugins.lutecetools.service.version.Version

Bug Category Details Line Priority
fr.paris.lutece.plugins.lutecetools.service.version.Version defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 117-129 Medium

fr.paris.lutece.plugins.lutecetools.web.PomUpdateApp

Bug Category Details Line Priority
Write to static field fr.paris.lutece.plugins.lutecetools.service.Globals._strWarningPomMessage from instance method fr.paris.lutece.plugins.lutecetools.web.PomUpdateApp.viewHome(HttpServletRequest) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 93 High

fr.paris.lutece.plugins.lutecetools.web.rs.JenkinsRest

Bug Category Details Line Priority
Write to static field fr.paris.lutece.plugins.lutecetools.web.rs.JenkinsRest._jenkinsService from instance method fr.paris.lutece.plugins.lutecetools.web.rs.JenkinsRest.setJenkinsService(JenkinsService) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 66 High