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 16 0 0

Files

Class Bugs
fr.paris.lutece.plugins.genericattributes.business.EntryHome 1
fr.paris.lutece.plugins.genericattributes.business.Field 4
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 2
fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeNumber 1
fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeText 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
Class fr.paris.lutece.plugins.genericattributes.business.Field defines non-transient non-serializable instance field _linkedItem BAD_PRACTICE SE_BAD_FIELD Not available High
Class fr.paris.lutece.plugins.genericattributes.business.Field defines non-transient non-serializable instance field _listRegularExpressionList BAD_PRACTICE SE_BAD_FIELD Not available High

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 188 High
fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem.get() may expose internal representation by returning GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP 125 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 69 Medium
new fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem(byte[], String, int) may expose internal representation by storing an externally mutable object into GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP2 85 Medium
new fr.paris.lutece.plugins.genericattributes.business.GenAttFileItem(byte[], String, String, int) may expose internal representation by storing an externally mutable object into GenAttFileItem._bValue MALICIOUS_CODE EI_EXPOSE_REP2 104 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
Redundant nullcheck of strValueEntry, which is known to be non-null in fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeDate.getResponseData(Entry, HttpServletRequest, List, Locale) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 139 Medium

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

Bug Category Details Line Priority
Redundant nullcheck of strValueEntry, which is known to be non-null in fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeNumber.getResponseData(Entry, HttpServletRequest, List, Locale) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 150 Medium

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

Bug Category Details Line Priority
Redundant nullcheck of strValueEntry, which is known to be non-null in fr.paris.lutece.plugins.genericattributes.service.entrytype.AbstractEntryTypeText.getResponseData(Entry, HttpServletRequest, List, Locale) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 251 Medium