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
91 11 0 52

Files

Class Bugs
fr.paris.lutece.plugins.genericattributes.business.EntryHome 1
fr.paris.lutece.plugins.genericattributes.business.Field 2
fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem 5
fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeArray 1
fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeCamera 1
fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeDate 1

fr.paris.lutece.plugins.genericattributes.business.EntryHome

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.genericattributes.business.EntryHome.remove(int) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 176 High

fr.paris.lutece.plugins.genericattributes.business.Field

Bug Category Details Line Priority
fr.paris.lutece.plugins.genericattributes.business.Field.getValueTypeDate() may expose internal representation by returning Field._tValueTypeDate MALICIOUS_CODE EI_EXPOSE_REP 253 Medium
fr.paris.lutece.plugins.genericattributes.business.Field.setValueTypeDate(Date) may expose internal representation by storing an externally mutable object into Field._tValueTypeDate MALICIOUS_CODE EI_EXPOSE_REP2 264 Medium

fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem.getString(): new String(byte[]) I18N DM_DEFAULT_ENCODING 200 High
fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem.get() may expose internal representation by returning GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP 129 Medium
new fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem(byte[], String) may expose internal representation by storing an externally mutable object into GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP2 70 Medium
new fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem(byte[], String, int, String) may expose internal representation by storing an externally mutable object into GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP2 86 Medium
new fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem(byte[], String, String, int, String) may expose internal representation by storing an externally mutable object into GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP2 106 Medium

fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeArray

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeArray.isValid(String) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 255 High

fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeCamera

Bug Category Details Line Priority
Redundant nullcheck of fileName, which is known to be non-null in fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeCamera.getResponseFromImage(HttpServletRequest, String, Entry, boolean) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 277 Medium

fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeDate

Bug Category Details Line Priority
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeDate.getResponseValueForRecap(Entry, HttpServletRequest, Response, Locale) PERFORMANCE DM_BOXED_PRIMITIVE_FOR_PARSING 217 High