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
14 8 0 0

fr.paris.lutece.plugins.files2docs.service.AutoCleaningService

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.files2docs.service.AutoCleaningService.processAutoCleaning() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 121 Medium

fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean

Bug Category Details Line Priority
fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.upload(HttpServletRequest) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 1146 Medium
Test de nullité redondant sur une valeur non nulle dans fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.doSelectFiles(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 995 Medium
Test de nullité redondant sur une valeur non nulle dans fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.getSelectFiles(HttpServletRequest) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 712 Medium
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.deleteUploadDirectory(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 364 Medium
Exceptional return value of java.io.File.delete() ignored in fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.doCreateDocuments(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1635 Medium
Exceptional return value of java.io.File.mkdir() ignored in fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.upload(HttpServletRequest) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 1131 Medium
La méthode fr.paris.lutece.plugins.files2docs.web.Files2DocsJspBean.getSelectFiles(HttpServletRequest) concatène des chaînes au moyen de + en boucle PERFORMANCE SBSC_USE_STRINGBUFFER_CONCATENATION 722 Medium