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
35 12 0 0

fr.paris.lutece.plugins.dbpage.business.DbPage

Bug Category Details Line Priority
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.dbpage.business.DbPage._listenerWorkgroup in fr.paris.lutece.plugins.dbpage.business.DbPage.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 71-73 Medium

fr.paris.lutece.plugins.dbpage.business.DbPageDatabaseSection

Bug Category Details Line Priority
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.dbpage.business.DbPageDatabaseSection._listenerRole in fr.paris.lutece.plugins.dbpage.business.DbPageDatabaseSection.init() MT_CORRECTNESS LI_LAZY_INIT_UPDATE_STATIC 66-68 Medium

fr.paris.lutece.plugins.dbpage.business.DbPageLoaderProperties

Bug Category Details Line Priority
fr.paris.lutece.plugins.dbpage.business.DbPageLoaderProperties.loadPage(File) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 149 Medium
La méthode fr.paris.lutece.plugins.dbpage.business.DbPageLoaderProperties.loadPage(File) peut ne pas fermer un flux BAD_PRACTICE OS_OPEN_STREAM 149 Medium

fr.paris.lutece.plugins.dbpage.web.DbPageJspBean

Bug Category Details Line Priority
Appel de equals() avec un argument à null dans fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.localTemplateFile(DbPageDatabaseSection, FileItem, String, boolean, boolean) CORRECTNESS EC_NULL_ARG 833 Medium
Un pointeur à null renvoyé par une méthode risque d'être déréférencé dans fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.deleteDirectory(File) STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 968 Medium
Un pointeur à null renvoyé par une méthode risque d'être déréférencé dans fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.deleteDirectory(File) STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 955 Medium
fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.localTemplateFile(DbPageDatabaseSection, FileItem, String, boolean, boolean) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 850 Medium
Test de nullité dans subDirs d'une valeur préalablement déréférencée dans fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.deleteDirectory(File) CORRECTNESS RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE 955 Medium
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.deleteDirectory(File) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 970 Medium
Exceptional return value of java.io.File.mkdir() ignored in fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.doCreateSection(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 373 Medium
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.dbpage.web.DbPageJspBean.localTemplateFile(DbPageDatabaseSection, FileItem, String, boolean, boolean) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 847 Medium