Fork me on GitHub

Rapport FindBugs de détection des bugs

Le document suivant contient les résultats du FindBugs

La version de FindBugs est 3.0.1

La limite est

L'effort est max

Résumé

Classes Bugs Erreurs Classes Manquantes
28 11 0 0

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

Bug Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Non disponible 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 Non disponible Medium

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

Bug Catégorie Détails Ligne Priorité
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