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
10 17 0 0

fr.paris.lutece.plugins.hipolite.database.ReplicationDAO

Bug Category Details Line Priority
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.lockMasterTables(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 116 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.masterShowStatus(Connection) may fail to clean up java.sql.ResultSet EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 198 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.masterShowStatus(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 191 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.resetMaster(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 79 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.resetSlave(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 97 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.slaveShowStatus(Connection) may fail to clean up java.sql.ResultSet EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 226 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.slaveShowStatus(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 219 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.startSlave(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 153 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.stopSlave(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 171 Medium
fr.paris.lutece.plugins.hipolite.database.ReplicationDAO.unlockMasterTables(Connection) may fail to clean up java.sql.Statement EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 135 Medium

fr.paris.lutece.plugins.hipolite.replication.Replication

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.hipolite.replication.Replication.addDelay(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 469 High
fr.paris.lutece.plugins.hipolite.replication.Replication.addDelay(String) invokes inefficient new Long(String) constructor; use Long.valueOf(String) instead PERFORMANCE DM_NUMBER_CTOR 469 Medium

fr.paris.lutece.plugins.hipolite.replication.ReplicationDaemon

Bug Category Details Line Priority
La méthode fr.paris.lutece.plugins.hipolite.replication.ReplicationDaemon.run() intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé STYLE REC_CATCH_EXCEPTION 77 Medium

fr.paris.lutece.plugins.hipolite.web.HipoliteJspBean

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.hipolite.web.HipoliteJspBean.doValidateSite(HttpServletRequest): new java.io.FileWriter(String, boolean) I18N DM_DEFAULT_ENCODING 170 High
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.hipolite.web.HipoliteJspBean.doCancelValidation(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 258 Medium
Exceptional return value of java.io.File.createNewFile() ignored in fr.paris.lutece.plugins.hipolite.web.HipoliteJspBean.doValidateSite(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 168 Medium
Exceptional return value of java.io.File.mkdirs() ignored in fr.paris.lutece.plugins.hipolite.web.HipoliteJspBean.doValidateSite(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 167 Medium