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
28 11 0 0

fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUser

Bug Category Details Line Priority
fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUser.getDateLastLogin() may expose internal representation by returning WssoUser._dateLastLogin MALICIOUS_CODE EI_EXPOSE_REP 174 Medium
fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUser.setDateLastLogin(Date) may expose internal representation by storing an externally mutable object into WssoUser._dateLastLogin MALICIOUS_CODE EI_EXPOSE_REP2 183 Medium
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUser._listenerRole in fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUser.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 61-63 Medium

fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.web.WssodatabaseJspBean

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.web.WssodatabaseJspBean.doUnassignUserProfil(HttpServletRequest) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 1316 High
Class fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.web.WssodatabaseJspBean defines non-transient non-serializable instance field _databaseService BAD_PRACTICE SE_BAD_FIELD Not available Medium
Class fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.web.WssodatabaseJspBean defines non-transient non-serializable instance field _importWssoDatabaseUserService BAD_PRACTICE SE_BAD_FIELD Not available Medium

fr.paris.lutece.plugins.mylutece.modules.wssodatabase.service.WssoUsersFileGeneratorService

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.mylutece.modules.wssodatabase.service.WssoUsersFileGeneratorService.createXmlFile(Plugin): new java.io.FileWriter(File) I18N DM_DEFAULT_ENCODING 167 High
fr.paris.lutece.plugins.mylutece.modules.wssodatabase.service.WssoUsersFileGeneratorService.createXmlFile(Plugin) may fail to clean up java.io.Writer on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 167 Medium
Exceptional return value of java.io.File.mkdir() ignored in fr.paris.lutece.plugins.mylutece.modules.wssodatabase.service.WssoUsersFileGeneratorService.createXmlFile(Plugin) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 160 Medium
Exceptional return value of java.io.File.renameTo(File) ignored in fr.paris.lutece.plugins.mylutece.modules.wssodatabase.service.WssoUsersFileGeneratorService.createXmlFile(Plugin) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 174 Medium
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.mylutece.modules.wssodatabase.service.WssoUsersFileGeneratorService.removeXmlFile() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 204 Medium