SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.5.3
Threshold is medium
Effort is default
Summary
Classes |
Bugs |
Errors |
Missing Classes |
107 |
44 |
0 |
0 |
fr.paris.lutece.plugins.workflow.modules.forms.business.AbstractCompleteFormResponse
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.business.AbstractCompleteFormResponse.getDateCompleted() may expose internal representation by returning AbstractCompleteFormResponse._dateCompleted |
MALICIOUS_CODE |
EI_EXPOSE_REP |
135 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.AbstractCompleteFormResponse.setDateCompleted(Date) may expose internal representation by storing an externally mutable object into AbstractCompleteFormResponse._dateCompleted |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
144 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.AbstractFormResponseTaskHistory
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.business.AbstractFormResponseTaskHistory.getQuestion() may expose internal representation by returning AbstractFormResponseTaskHistory._question |
MALICIOUS_CODE |
EI_EXPOSE_REP |
68 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.AbstractFormResponseTaskHistory.setQuestion(Question) may expose internal representation by storing an externally mutable object into AbstractFormResponseTaskHistory._question |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
77 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.CompleteFormResponse
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.business.CompleteFormResponse.getListCompleteReponseValues() may expose internal representation by returning CompleteFormResponse._listCompleteReponseValues |
MALICIOUS_CODE |
EI_EXPOSE_REP |
60 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.CompleteFormResponse.setListCompleteReponseValues(List) may expose internal representation by storing an externally mutable object into CompleteFormResponse._listCompleteReponseValues |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
50 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue.getForm() may expose internal representation by returning EditFormResponseConfigValue._form |
MALICIOUS_CODE |
EI_EXPOSE_REP |
120 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue.getQuestion() may expose internal representation by returning EditFormResponseConfigValue._question |
MALICIOUS_CODE |
EI_EXPOSE_REP |
106 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue.getStep() may expose internal representation by returning EditFormResponseConfigValue._step |
MALICIOUS_CODE |
EI_EXPOSE_REP |
89 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue.setForm(Form) may expose internal representation by storing an externally mutable object into EditFormResponseConfigValue._form |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
125 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue.setQuestion(Question) may expose internal representation by storing an externally mutable object into EditFormResponseConfigValue._question |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
115 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValue.setStep(Step) may expose internal representation by storing an externally mutable object into EditFormResponseConfigValue._step |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
98 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig.getForm() may expose internal representation by returning FormResponseValueStateControllerConfig._form |
MALICIOUS_CODE |
EI_EXPOSE_REP |
90 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig.getQuestion() may expose internal representation by returning FormResponseValueStateControllerConfig._question |
MALICIOUS_CODE |
EI_EXPOSE_REP |
124 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig.getStep() may expose internal representation by returning FormResponseValueStateControllerConfig._step |
MALICIOUS_CODE |
EI_EXPOSE_REP |
107 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig.setForm(Form) may expose internal representation by storing an externally mutable object into FormResponseValueStateControllerConfig._form |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
99 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig.setQuestion(Question) may expose internal representation by storing an externally mutable object into FormResponseValueStateControllerConfig._question |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
133 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.FormResponseValueStateControllerConfig.setStep(Step) may expose internal representation by storing an externally mutable object into FormResponseValueStateControllerConfig._step |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
116 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.ResubmitFormResponse
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.business.ResubmitFormResponse.getListResubmitReponseValues() may expose internal representation by returning ResubmitFormResponse._listResubmitReponseValues |
MALICIOUS_CODE |
EI_EXPOSE_REP |
60 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.business.ResubmitFormResponse.setListResubmitReponseValues(List) may expose internal representation by storing an externally mutable object into ResubmitFormResponse._listResubmitReponseValues |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
50 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.AbstractFormResponseStateController
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.workflow.modules.forms.service.AbstractFormResponseStateController.doSaveConfig(HttpServletRequest, Locale, ITask) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
159 |
High |
fr.paris.lutece.plugins.workflow.modules.forms.service.CompleteFormResponseService
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.service.CompleteFormResponseService.getSubmittedFormResponseList() may expose internal representation by returning CompleteFormResponseService._submittedFormResponses |
MALICIOUS_CODE |
EI_EXPOSE_REP |
334 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.ResubmitFormResponseService
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.service.ResubmitFormResponseService.getSubmittedFormResponseList() may expose internal representation by returning ResubmitFormResponseService._submittedFormQuestionResponses |
MALICIOUS_CODE |
EI_EXPOSE_REP |
339 |
Medium |
Useless object stored in variable listEntries of method fr.paris.lutece.plugins.workflow.modules.forms.service.ResubmitFormResponseService.getListQuestionToEdit(FormResponse, List) |
STYLE |
UC_USELESS_OBJECT |
256 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.AbstractEditFormsTask
Bug |
Category |
Details |
Line |
Priority |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.AbstractEditFormsTask(IFormsTaskService, IEditFormResponseTaskService, IEditFormResponseTaskHistoryService) may expose internal representation by storing an externally mutable object into AbstractEditFormsTask._editFormResponseTaskHistoryService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
86 |
Medium |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.AbstractEditFormsTask(IFormsTaskService, IEditFormResponseTaskService, IEditFormResponseTaskHistoryService) may expose internal representation by storing an externally mutable object into AbstractEditFormsTask._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
84 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.DuplicateFormResponseTask
Bug |
Category |
Details |
Line |
Priority |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.DuplicateFormResponseTask(IFormsTaskService) may expose internal representation by storing an externally mutable object into DuplicateFormResponseTask._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
80 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.EditFormResponseAutoUpdateTask
Bug |
Category |
Details |
Line |
Priority |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.EditFormResponseAutoUpdateTask(IFormsTaskService) may expose internal representation by storing an externally mutable object into EditFormResponseAutoUpdateTask._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
88 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.EditFormResponseTaskHistoryService
Bug |
Category |
Details |
Line |
Priority |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.EditFormResponseTaskHistoryService(IEditFormResponseTaskHistoryDAO) may expose internal representation by storing an externally mutable object into EditFormResponseTaskHistoryService._editFormResponseTaskHistoryDAO |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
60 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.FormsTaskService
Bug |
Category |
Details |
Line |
Priority |
Load of known null value in fr.paris.lutece.plugins.workflow.modules.forms.service.task.FormsTaskService.createEditableResponses(FormResponse, List, HttpServletRequest) |
STYLE |
NP_LOAD_OF_KNOWN_NULL_VALUE |
241 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.ModifyFormResponseUpdateDateTask
Bug |
Category |
Details |
Line |
Priority |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.ModifyFormResponseUpdateDateTask(IFormsTaskService) may expose internal representation by storing an externally mutable object into ModifyFormResponseUpdateDateTask._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
57 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.service.task.ModifyFormResponseUpdateStatusTask
Bug |
Category |
Details |
Line |
Priority |
new fr.paris.lutece.plugins.workflow.modules.forms.service.task.ModifyFormResponseUpdateStatusTask(IFormsTaskService) may expose internal representation by storing an externally mutable object into ModifyFormResponseUpdateStatusTask._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
65 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.utils.EditableResponse
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.workflow.modules.forms.utils.EditableResponse.getQuestion() may expose internal representation by returning EditableResponse._question |
MALICIOUS_CODE |
EI_EXPOSE_REP |
72 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.utils.EditableResponse.getResponseFromForm() may expose internal representation by returning EditableResponse._responseFromForm |
MALICIOUS_CODE |
EI_EXPOSE_REP |
88 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.utils.EditableResponse.getResponseSaved() may expose internal representation by returning EditableResponse._responseSaved |
MALICIOUS_CODE |
EI_EXPOSE_REP |
80 |
Medium |
new fr.paris.lutece.plugins.workflow.modules.forms.utils.EditableResponse(FormQuestionResponse, FormQuestionResponse) may expose internal representation by storing an externally mutable object into EditableResponse._responseFromForm |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
57 |
Medium |
new fr.paris.lutece.plugins.workflow.modules.forms.utils.EditableResponse(FormQuestionResponse, FormQuestionResponse) may expose internal representation by storing an externally mutable object into EditableResponse._responseSaved |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
56 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.web.CompleteFormResponseApp
Bug |
Category |
Details |
Line |
Priority |
Class fr.paris.lutece.plugins.workflow.modules.forms.web.CompleteFormResponseApp defines non-transient non-serializable instance field _completeFormResponseService |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.web.ResubmitFormResponseApp
Bug |
Category |
Details |
Line |
Priority |
Class fr.paris.lutece.plugins.workflow.modules.forms.web.ResubmitFormResponseApp defines non-transient non-serializable instance field _resubmitFormResponseService |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseAutoUpdateTaskComponent
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseAutoUpdateTaskComponent.doProcessAction(String, HttpServletRequest) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
240 |
High |
new fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseAutoUpdateTaskComponent(IFormsTaskService, IEditFormResponseTaskService, IEditFormResponseTaskHistoryService) may expose internal representation by storing an externally mutable object into EditFormResponseAutoUpdateTaskComponent._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
120 |
Medium |
fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseTaskComponent
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseTaskComponent.doProcessAction(String, HttpServletRequest) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
387 |
High |
new fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseTaskComponent(IFormsTaskService, IEditFormResponseTaskService, IEditFormResponseTaskHistoryService) may expose internal representation by storing an externally mutable object into EditFormResponseTaskComponent._editFormResponseTaskHistoryService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
138 |
Medium |
new fr.paris.lutece.plugins.workflow.modules.forms.web.task.EditFormResponseTaskComponent(IFormsTaskService, IEditFormResponseTaskService, IEditFormResponseTaskHistoryService) may expose internal representation by storing an externally mutable object into EditFormResponseTaskComponent._formsTaskService |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
136 |
Medium |