Fork me on GitHub

Rapport FindBugs de détection des bugs

Le document suivant contient les résultats du FindBugs

La version de FindBugs est 3.0.1

La limite est

L'effort est max

Résumé

Classes Bugs Erreurs Classes Manquantes
91 16 0 0

Fichiers

Classe 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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Non disponible High
Class fr.paris.lutece.plugins.genericattributes.business.Field defines non-transient non-serializable instance field _listRegularExpressionList BAD_PRACTICE SE_BAD_FIELD Non disponible High

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

Bug Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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