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

Files

Class Bugs
fr.paris.lutece.plugins.stock.commons.AbstractDTO 1
fr.paris.lutece.plugins.stock.commons.exception.BusinessException 2
fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream 5

fr.paris.lutece.plugins.stock.commons.AbstractDTO

Bug Category Details Line Priority
Unread public/protected field: fr.paris.lutece.plugins.stock.commons.AbstractDTO.mapper STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 54 Medium

fr.paris.lutece.plugins.stock.commons.exception.BusinessException

Bug Category Details Line Priority
fr.paris.lutece.plugins.stock.commons.exception.BusinessException.getArguments() may expose internal representation by returning BusinessException._arguments MALICIOUS_CODE EI_EXPOSE_REP 109 Medium
fr.paris.lutece.plugins.stock.commons.exception.BusinessException.setArguments(String[]) may expose internal representation by storing an externally mutable object into BusinessException._arguments MALICIOUS_CODE EI_EXPOSE_REP2 120 Medium

fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream

Bug Category Details Line Priority
fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream.writeField(String, boolean) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead PERFORMANCE DM_BOOLEAN_CTOR 119 Medium
Primitive boxed just to call toString in fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream.writeField(String, char) PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 209 Medium
Primitive boxed just to call toString in fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream.writeField(String, boolean) PERFORMANCE DM_BOXED_PRIMITIVE_TOSTRING 119 Medium
fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream.writeField(String, char) invokes inefficient new Character(char) constructor; use Character.valueOf(char) instead PERFORMANCE DM_NUMBER_CTOR 209 Medium
fr.paris.lutece.plugins.stock.utils.MultiPartFormOutputStream.writeFile(String, String, File) may fail to clean up java.io.InputStream EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION 275 Medium