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 |
100 |
53 |
0 |
38 |
fr.paris.lutece.plugins.form.business.EntryTypeCheckBox
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeCheckBox.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
242 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeCheckBox.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
260 |
High |
fr.paris.lutece.plugins.form.business.EntryTypeCheckBox.getResponseValueForRecap(HttpServletRequest, Response, Locale) invokes inefficient new String(String) constructor |
PERFORMANCE |
DM_STRING_CTOR |
272 |
Medium |
fr.paris.lutece.plugins.form.business.EntryTypeDate
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeDate.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
215 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeDate.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
234 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeDate.getResponseValueForRecap(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
249 |
High |
Redundant nullcheck of strValueEntry, which is known to be non-null in fr.paris.lutece.plugins.form.business.EntryTypeDate.getResponseData(HttpServletRequest, List, Locale) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
189 |
Medium |
fr.paris.lutece.plugins.form.business.EntryTypeRadioButton
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeRadioButton.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
216 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeRadioButton.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
234 |
High |
fr.paris.lutece.plugins.form.business.EntryTypeRadioButton.getResponseValueForRecap(HttpServletRequest, Response, Locale) invokes inefficient new String(String) constructor |
PERFORMANCE |
DM_STRING_CTOR |
246 |
Medium |
fr.paris.lutece.plugins.form.business.EntryTypeSelect
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeSelect.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
196 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeSelect.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
214 |
High |
fr.paris.lutece.plugins.form.business.EntryTypeSelect.getResponseValueForRecap(HttpServletRequest, Response, Locale) invokes inefficient new String(String) constructor |
PERFORMANCE |
DM_STRING_CTOR |
226 |
Medium |
fr.paris.lutece.plugins.form.business.EntryTypeSelectSQL
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeSelectSQL.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
205 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeSelectSQL.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
224 |
High |
fr.paris.lutece.plugins.form.business.EntryTypeSelectSQL.getResponseValueForRecap(HttpServletRequest, Response, Locale) invokes inefficient new String(String) constructor |
PERFORMANCE |
DM_STRING_CTOR |
237 |
Medium |
fr.paris.lutece.plugins.form.business.EntryTypeText
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeText.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
375 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeText.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
392 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeText.getResponseValueForRecap(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
404 |
High |
fr.paris.lutece.plugins.form.business.EntryTypeTextArea
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeTextArea.getResponseData(HttpServletRequest, List, Locale): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
224 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeTextArea.getResponseValueForExport(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
241 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.business.EntryTypeTextArea.getResponseValueForRecap(HttpServletRequest, Response, Locale): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
253 |
High |
fr.paris.lutece.plugins.form.business.ExportFormat
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.ExportFormat.getXsl() may expose internal representation by returning ExportFormat._xsl |
MALICIOUS_CODE |
EI_EXPOSE_REP |
113 |
Medium |
fr.paris.lutece.plugins.form.business.ExportFormat.setXsl(byte[]) may expose internal representation by storing an externally mutable object into ExportFormat._xsl |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
122 |
Medium |
fr.paris.lutece.plugins.form.business.Field
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.Field.getValueTypeDate() may expose internal representation by returning Field._tValueTypeDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
267 |
Medium |
fr.paris.lutece.plugins.form.business.Field.setValueTypeDate(Date) may expose internal representation by storing an externally mutable object into Field._tValueTypeDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
276 |
Medium |
fr.paris.lutece.plugins.form.business.Form
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.Form.getDateBeginDisponibility() may expose internal representation by returning Form._tDateBeginDisponibility |
MALICIOUS_CODE |
EI_EXPOSE_REP |
482 |
Medium |
fr.paris.lutece.plugins.form.business.Form.getDateCreation() may expose internal representation by returning Form._tDateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP |
383 |
Medium |
fr.paris.lutece.plugins.form.business.Form.getDateEndDisponibility() may expose internal representation by returning Form._tDateEndDisponibility |
MALICIOUS_CODE |
EI_EXPOSE_REP |
203 |
Medium |
fr.paris.lutece.plugins.form.business.Form.setDateBeginDisponibility(Date) may expose internal representation by storing an externally mutable object into Form._tDateBeginDisponibility |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
473 |
Medium |
fr.paris.lutece.plugins.form.business.Form.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into Form._tDateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
392 |
Medium |
fr.paris.lutece.plugins.form.business.Form.setDateEndDisponibility(Date) may expose internal representation by storing an externally mutable object into Form._tDateEndDisponibility |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
212 |
Medium |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.form.business.Form._listenerRegularExpression in fr.paris.lutece.plugins.form.business.Form.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
100-102 |
Medium |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.form.business.Form._listenerWorkgroup in fr.paris.lutece.plugins.form.business.Form.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
94-96 |
Medium |
fr.paris.lutece.plugins.form.business.FormSubmit
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.FormSubmit.getDateResponse() may expose internal representation by returning FormSubmit._tDateResponse |
MALICIOUS_CODE |
EI_EXPOSE_REP |
115 |
Medium |
fr.paris.lutece.plugins.form.business.FormSubmit.setDateResponse(Timestamp) may expose internal representation by storing an externally mutable object into FormSubmit._tDateResponse |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
124 |
Medium |
fr.paris.lutece.plugins.form.business.Response
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.Response.getValueResponse() may expose internal representation by returning Response._byValueResponse |
MALICIOUS_CODE |
EI_EXPOSE_REP |
113 |
Medium |
fr.paris.lutece.plugins.form.business.Response.setValueResponse(byte[]) may expose internal representation by storing an externally mutable object into Response._byValueResponse |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
122 |
Medium |
fr.paris.lutece.plugins.form.business.ResponseFilter
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.ResponseFilter.getDateFirst() may expose internal representation by returning ResponseFilter._tDateFirst |
MALICIOUS_CODE |
EI_EXPOSE_REP |
143 |
Medium |
fr.paris.lutece.plugins.form.business.ResponseFilter.getDateLast() may expose internal representation by returning ResponseFilter._tDateLast |
MALICIOUS_CODE |
EI_EXPOSE_REP |
170 |
Medium |
fr.paris.lutece.plugins.form.business.ResponseFilter.setDateFirst(Timestamp) may expose internal representation by storing an externally mutable object into ResponseFilter._tDateFirst |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
152 |
Medium |
fr.paris.lutece.plugins.form.business.ResponseFilter.setDateLast(Timestamp) may expose internal representation by storing an externally mutable object into ResponseFilter._tDateLast |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
179 |
Medium |
fr.paris.lutece.plugins.form.business.StatisticFormSubmit
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.form.business.StatisticFormSubmit.getStatisticDate() may expose internal representation by returning StatisticFormSubmit._tStatisticDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
73 |
Medium |
fr.paris.lutece.plugins.form.business.StatisticFormSubmit.setStatisticDate(Timestamp) may expose internal representation by storing an externally mutable object into StatisticFormSubmit._tStatisticDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
82 |
Medium |
fr.paris.lutece.plugins.form.business.outputprocessor.OutputProcessorSet
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Write to static field fr.paris.lutece.plugins.form.business.outputprocessor.OutputProcessorSet._mapOutputProcessor from instance method fr.paris.lutece.plugins.form.business.outputprocessor.OutputProcessorSet.setOutputProcessorMap(Map) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
53 |
High |
fr.paris.lutece.plugins.form.modules.processornotifysender.business.ProcessorNotifySender
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Dead store to strSendRecap in fr.paris.lutece.plugins.form.modules.processornotifysender.business.ProcessorNotifySender.getConfigurationData(HttpServletRequest, NotifySenderConfiguration, Locale) |
STYLE |
DLS_DEAD_LOCAL_STORE |
253 |
Medium |
fr.paris.lutece.plugins.form.utils.FormUtils
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Redundant nullcheck of responseStore, which is known to be non-null in fr.paris.lutece.plugins.form.utils.FormUtils.getXmlResponses(HttpServletRequest, Form, List, Locale, Plugin) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
837 |
Medium |
fr.paris.lutece.plugins.form.web.FormApp
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Possible null pointer dereference of form in fr.paris.lutece.plugins.form.web.FormApp.getForm(HttpServletRequest, HttpSession, int, Plugin) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
351 |
High |
Possible null pointer dereference of session in fr.paris.lutece.plugins.form.web.FormApp.getRecap(HttpServletRequest, HttpSession, int, Plugin) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
461 |
High |
Possible null pointer dereference of session in fr.paris.lutece.plugins.form.web.FormApp.getResult(HttpServletRequest, HttpSession, int, Plugin) |
CORRECTNESS |
NP_NULL_ON_SOME_PATH |
245 |
Medium |
fr.paris.lutece.plugins.form.web.FormJspBean
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.form.web.FormJspBean.doExportResponseTestForm(HttpServletRequest, HttpServletResponse): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
3147 |
High |
Found reliance on default encoding in fr.paris.lutece.plugins.form.web.FormJspBean.doExportResult(HttpServletRequest, HttpServletResponse): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
3371 |
High |
Nullcheck of listFormSubmit at line 3355 of value previously dereferenced in fr.paris.lutece.plugins.form.web.FormJspBean.doExportResult(HttpServletRequest, HttpServletResponse) |
CORRECTNESS |
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE |
3355 |
Medium |