Rapport SpotBugs de détection des bugs
Le document suivant contient les résultats du SpotBugs
La version de SpotBugs est 4.5.3
La limite est medium
L'effort est default
Résumé
Classes |
Bugs |
Erreurs |
Classes Manquantes |
164 |
89 |
0 |
0 |
fr.paris.lutece.plugins.document.business.Document
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.Document.getActions() may expose internal representation by returning Document._listActions |
MALICIOUS_CODE |
EI_EXPOSE_REP |
570 |
Medium |
fr.paris.lutece.plugins.document.business.Document.getAttributes() may expose internal representation by returning Document._listAttributes |
MALICIOUS_CODE |
EI_EXPOSE_REP |
549 |
Medium |
fr.paris.lutece.plugins.document.business.Document.getCategories() may expose internal representation by returning Document._listCategories |
MALICIOUS_CODE |
EI_EXPOSE_REP |
610 |
Medium |
fr.paris.lutece.plugins.document.business.Document.getDateCreation() may expose internal representation by returning Document._dateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP |
224 |
Medium |
fr.paris.lutece.plugins.document.business.Document.getDateModification() may expose internal representation by returning Document._dateModification |
MALICIOUS_CODE |
EI_EXPOSE_REP |
266 |
Medium |
fr.paris.lutece.plugins.document.business.Document.getDateValidityBegin() may expose internal representation by returning Document._dateValidityBegin |
MALICIOUS_CODE |
EI_EXPOSE_REP |
287 |
Medium |
fr.paris.lutece.plugins.document.business.Document.getDateValidityEnd() may expose internal representation by returning Document._dateValidityEnd |
MALICIOUS_CODE |
EI_EXPOSE_REP |
308 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setActions(List) may expose internal representation by storing an externally mutable object into Document._listActions |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
581 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setAttributes(List) may expose internal representation by storing an externally mutable object into Document._listAttributes |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
560 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setCategories(List) may expose internal representation by storing an externally mutable object into Document._listCategories |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
619 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into Document._dateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
235 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setDateModification(Timestamp) may expose internal representation by storing an externally mutable object into Document._dateModification |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
277 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setDateValidityBegin(Timestamp) may expose internal representation by storing an externally mutable object into Document._dateValidityBegin |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
298 |
Medium |
fr.paris.lutece.plugins.document.business.Document.setDateValidityEnd(Timestamp) may expose internal representation by storing an externally mutable object into Document._dateValidityEnd |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
319 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentFilter
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.DocumentFilter.getCategoriesId() may expose internal representation by returning DocumentFilter._arrayCategoriesId |
MALICIOUS_CODE |
EI_EXPOSE_REP |
155 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentFilter.getIds() may expose internal representation by returning DocumentFilter._arrayId |
MALICIOUS_CODE |
EI_EXPOSE_REP |
192 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentFilter.setCategoriesId(int[]) may expose internal representation by storing an externally mutable object into DocumentFilter._arrayCategoriesId |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
164 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentFilter.setIds(int[]) may expose internal representation by storing an externally mutable object into DocumentFilter._arrayId |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
201 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentResource
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.DocumentResource.getContent() may expose internal representation by returning DocumentResource._strContent |
MALICIOUS_CODE |
EI_EXPOSE_REP |
53 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentResource.setContent(byte[]) may expose internal representation by storing an externally mutable object into DocumentResource._strContent |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
64 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentType
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.DocumentType.getAdminXsl() may expose internal representation by returning DocumentType._baAdminXsl |
MALICIOUS_CODE |
EI_EXPOSE_REP |
179 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentType.getAttributes() may expose internal representation by returning DocumentType._listAttributes |
MALICIOUS_CODE |
EI_EXPOSE_REP |
232 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentType.getContentServiceXsl() may expose internal representation by returning DocumentType._baContentServiceXsl |
MALICIOUS_CODE |
EI_EXPOSE_REP |
200 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentType.setAdminXsl(byte[]) may expose internal representation by storing an externally mutable object into DocumentType._baAdminXsl |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
190 |
Medium |
fr.paris.lutece.plugins.document.business.DocumentType.setContentServiceXsl(byte[]) may expose internal representation by storing an externally mutable object into DocumentType._baContentServiceXsl |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
211 |
Medium |
fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute.getBinaryValue() may expose internal representation by returning DocumentAttribute._bytes |
MALICIOUS_CODE |
EI_EXPOSE_REP |
330 |
Medium |
fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute.getParameters() may expose internal representation by returning DocumentAttribute._listParameters |
MALICIOUS_CODE |
EI_EXPOSE_REP |
288 |
Medium |
fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute.setBinaryValue(byte[]) may expose internal representation by storing an externally mutable object into DocumentAttribute._bytes |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
320 |
Medium |
fr.paris.lutece.plugins.document.business.attributes.DocumentAttribute.setParameters(List) may expose internal representation by storing an externally mutable object into DocumentAttribute._listParameters |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
278 |
Medium |
fr.paris.lutece.plugins.document.business.autopublication.DocumentAutoPublication
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.document.business.autopublication.DocumentAutoPublication._listenerDocumentSpace in fr.paris.lutece.plugins.document.business.autopublication.DocumentAutoPublication.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
54-56 |
Medium |
fr.paris.lutece.plugins.document.business.category.Category
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.category.Category.getIconContent() may expose internal representation by returning Category._byteIconContent |
MALICIOUS_CODE |
EI_EXPOSE_REP |
57 |
Medium |
fr.paris.lutece.plugins.document.business.category.Category.setIconContent(byte[]) may expose internal representation by storing an externally mutable object into Category._byteIconContent |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
66 |
Medium |
fr.paris.lutece.plugins.document.business.history.HistoryEvent
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.history.HistoryEvent.getDate() may expose internal representation by returning HistoryEvent._eventDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
108 |
Medium |
fr.paris.lutece.plugins.document.business.history.HistoryEvent.setDate(Timestamp) may expose internal representation by storing an externally mutable object into HistoryEvent._eventDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
119 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.DocumentListPortlet
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.portlet.DocumentListPortlet.getIdCategory() may expose internal representation by returning DocumentListPortlet._nArrayIdCategory |
MALICIOUS_CODE |
EI_EXPOSE_REP |
170 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.DocumentListPortlet.setIdCategory(int[]) may expose internal representation by storing an externally mutable object into DocumentListPortlet._nArrayIdCategory |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
179 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.DocumentListPortletHome
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.portlet.DocumentListPortletHome.getDAO() may expose internal representation by returning DocumentListPortletHome._dao |
MALICIOUS_CODE |
EI_EXPOSE_REP |
103 |
Medium |
Public static fr.paris.lutece.plugins.document.business.portlet.DocumentListPortletHome.getInstance() may expose internal representation by returning DocumentListPortletHome._singleton |
MALICIOUS_CODE |
MS_EXPOSE_REP |
80 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.DocumentPortlet
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.portlet.DocumentPortlet.getIdCategory() may expose internal representation by returning DocumentPortlet._nArrayIdCategory |
MALICIOUS_CODE |
EI_EXPOSE_REP |
173 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.DocumentPortlet.setIdCategory(int[]) may expose internal representation by storing an externally mutable object into DocumentPortlet._nArrayIdCategory |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
182 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.DocumentPortletHome
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Public static fr.paris.lutece.plugins.document.business.portlet.DocumentPortletHome.getInstance() may expose internal representation by returning DocumentPortletHome._singleton |
MALICIOUS_CODE |
MS_EXPOSE_REP |
78 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.PortletFilter
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.portlet.PortletFilter.getPageName() may expose internal representation by returning PortletFilter._tabPageName |
MALICIOUS_CODE |
EI_EXPOSE_REP |
80 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.PortletFilter.getPortletName() may expose internal representation by returning PortletFilter._tabPortletName |
MALICIOUS_CODE |
EI_EXPOSE_REP |
101 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.PortletFilter.setPageName(String[]) may expose internal representation by storing an externally mutable object into PortletFilter._tabPageName |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
70 |
Medium |
fr.paris.lutece.plugins.document.business.portlet.PortletFilter.setPortletName(String[]) may expose internal representation by storing an externally mutable object into PortletFilter._tabPortletName |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
91 |
Medium |
fr.paris.lutece.plugins.document.business.publication.DocumentPublication
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.publication.DocumentPublication.getDatePublishing() may expose internal representation by returning DocumentPublication._datePublishing |
MALICIOUS_CODE |
EI_EXPOSE_REP |
129 |
Medium |
fr.paris.lutece.plugins.document.business.publication.DocumentPublication.setDatePublishing(Date) may expose internal representation by storing an externally mutable object into DocumentPublication._datePublishing |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
138 |
Medium |
fr.paris.lutece.plugins.document.business.rules.AbstractRule
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.rules.AbstractRule.getUser() may expose internal representation by returning AbstractRule._user |
MALICIOUS_CODE |
EI_EXPOSE_REP |
183 |
Medium |
fr.paris.lutece.plugins.document.business.rules.AbstractRule.setUser(AdminUser) may expose internal representation by storing an externally mutable object into AbstractRule._user |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
195 |
Medium |
fr.paris.lutece.plugins.document.business.rules.RuleTypesSet
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.rules.RuleTypesSet.setRuleTypesMap(Map) may expose internal representation by storing an externally mutable object into RuleTypesSet._mapRuleTypes |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
59 |
Medium |
fr.paris.lutece.plugins.document.business.rules.RuleTypesSet.getRuleTypeKey(Rule) makes inefficient use of keySet iterator instead of entrySet iterator |
PERFORMANCE |
WMI_WRONG_MAP_ITERATOR |
103 |
Medium |
fr.paris.lutece.plugins.document.business.workflow.DocumentAction
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.business.workflow.DocumentAction.getFinishDocumentState() may expose internal representation by returning DocumentAction._finishDocumentState |
MALICIOUS_CODE |
EI_EXPOSE_REP |
92 |
Medium |
fr.paris.lutece.plugins.document.business.workflow.DocumentAction.setFinishDocumentState(DocumentState) may expose internal representation by storing an externally mutable object into DocumentAction._finishDocumentState |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
103 |
Medium |
fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceRule
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceRule.getAttributesList() may expose internal representation by returning MoveSpaceRule._attributes |
MALICIOUS_CODE |
EI_EXPOSE_REP |
258 |
Medium |
fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceRule defines equals and uses Object.hashCode() |
BAD_PRACTICE |
HE_EQUALS_USE_HASHCODE |
317-345 |
High |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceRule._listenerSpaces in fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceRule.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
90-92 |
Medium |
fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule.getAttributesList() may expose internal representation by returning NotifyUsersRule._attributes |
MALICIOUS_CODE |
EI_EXPOSE_REP |
311 |
Medium |
fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule defines equals and uses Object.hashCode() |
BAD_PRACTICE |
HE_EQUALS_USE_HASHCODE |
441-472 |
High |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule._listenerMailingList in fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
130-132 |
Medium |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule._listenerSpace in fr.paris.lutece.plugins.document.modules.rulenotifyusers.business.NotifyUsersRule.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
136-138 |
Medium |
fr.paris.lutece.plugins.document.service.DocumentContentService
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Useless object stored in variable mapXslParams of method fr.paris.lutece.plugins.document.service.DocumentContentService.buildPage(HttpServletRequest, String, String, String, int) |
STYLE |
UC_USELESS_OBJECT |
270 |
Medium |
fr.paris.lutece.plugins.document.service.DocumentEvent
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.service.DocumentEvent.getDocument() may expose internal representation by returning DocumentEvent._document |
MALICIOUS_CODE |
EI_EXPOSE_REP |
90 |
Medium |
fr.paris.lutece.plugins.document.service.DocumentEvent.getUser() may expose internal representation by returning DocumentEvent._user |
MALICIOUS_CODE |
EI_EXPOSE_REP |
100 |
Medium |
new fr.paris.lutece.plugins.document.service.DocumentEvent(Document, AdminUser, int) may expose internal representation by storing an externally mutable object into DocumentEvent._document |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
66 |
Medium |
new fr.paris.lutece.plugins.document.service.DocumentEvent(Document, AdminUser, int) may expose internal representation by storing an externally mutable object into DocumentEvent._user |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
67 |
Medium |
fr.paris.lutece.plugins.document.service.DocumentEventListernersManager
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Write to static field fr.paris.lutece.plugins.document.service.DocumentEventListernersManager._listEventListeners from instance method fr.paris.lutece.plugins.document.service.DocumentEventListernersManager.setListeners(List) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
58 |
High |
fr.paris.lutece.plugins.document.service.DocumentService
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.document.service.DocumentService.setAttribute(DocumentAttribute, Document, MultipartHttpServletRequest, Locale) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
798 |
High |
Public static fr.paris.lutece.plugins.document.service.DocumentService.getInstance() may expose internal representation by returning DocumentService._singleton |
MALICIOUS_CODE |
MS_EXPOSE_REP |
147 |
Medium |
fr.paris.lutece.plugins.document.service.category.CategoryService$CategoryDisplay
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.service.category.CategoryService$CategoryDisplay.getCategory() may expose internal representation by returning CategoryService$CategoryDisplay._category |
MALICIOUS_CODE |
EI_EXPOSE_REP |
260 |
Medium |
fr.paris.lutece.plugins.document.service.category.CategoryService$CategoryDisplay.setCategory(Category) may expose internal representation by storing an externally mutable object into CategoryService$CategoryDisplay._category |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
269 |
Medium |
Should fr.paris.lutece.plugins.document.service.category.CategoryService$CategoryDisplay be a _static_ inner class? |
PERFORMANCE |
SIC_INNER_SHOULD_BE_STATIC |
247-324 |
Medium |
fr.paris.lutece.plugins.document.service.docsearch.DefaultDocSearchIndexer
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.document.service.docsearch.DefaultDocSearchIndexer.getDocument(Document): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
139 |
High |
fr.paris.lutece.plugins.document.service.docsearch.DocSearchService
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Public static fr.paris.lutece.plugins.document.service.docsearch.DocSearchService.getInstance() may expose internal representation by returning DocSearchService._singleton |
MALICIOUS_CODE |
MS_EXPOSE_REP |
149 |
Medium |
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.document.service.docsearch.DocSearchService.getSearchResults(String, int, AdminUser) |
STYLE |
REC_CATCH_EXCEPTION |
413 |
Medium |
Exception is caught when Exception is not thrown in fr.paris.lutece.plugins.document.service.docsearch.DocSearchService.getSearchResults(String, boolean, boolean, String, DocumentType) |
STYLE |
REC_CATCH_EXCEPTION |
547 |
Medium |
Write to static field fr.paris.lutece.plugins.document.service.docsearch.DocSearchService._searcher from instance method fr.paris.lutece.plugins.document.service.docsearch.DocSearchService.getSearchResults(String, int, AdminUser) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
375 |
High |
Write to static field fr.paris.lutece.plugins.document.service.docsearch.DocSearchService._searcher from instance method fr.paris.lutece.plugins.document.service.docsearch.DocSearchService.getSearchResults(String, boolean, boolean, String, DocumentType) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
437 |
High |
fr.paris.lutece.plugins.document.service.publishing.PublishingEventListenersManager
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.service.publishing.PublishingEventListenersManager.setListeners(List) may expose internal representation by storing an externally mutable object into PublishingEventListenersManager._listEventListeners |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
58 |
Medium |
fr.paris.lutece.plugins.document.service.search.DocumentIndexer
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Found reliance on default encoding in fr.paris.lutece.plugins.document.service.search.DocumentIndexer.getDocument(Document, String, String, String): String.getBytes() |
I18N |
DM_DEFAULT_ENCODING |
276 |
High |
fr.paris.lutece.plugins.document.service.spaces.DocumentSpacesService
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Public static fr.paris.lutece.plugins.document.service.spaces.DocumentSpacesService.getInstance() may expose internal representation by returning DocumentSpacesService._singleton |
MALICIOUS_CODE |
MS_EXPOSE_REP |
112 |
Medium |
fr.paris.lutece.plugins.document.web.DocumentJspBean
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.document.web.DocumentJspBean.getMassArchivalDocument(HttpServletRequest) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
1623 |
High |
fr.paris.lutece.plugins.document.web.DocumentTypeJspBean
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Redundant nullcheck of strCode, which is known to be non-null in fr.paris.lutece.plugins.document.web.DocumentTypeJspBean.validateCodeAttribute(HttpServletRequest) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
531 |
Medium |
Class fr.paris.lutece.plugins.document.web.DocumentTypeJspBean defines non-transient non-serializable instance field _attribute |
BAD_PRACTICE |
SE_BAD_FIELD |
Non disponible |
Medium |
fr.paris.lutece.plugins.document.web.ResourceValueObject
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.web.ResourceValueObject.getContent() may expose internal representation by returning ResourceValueObject._content |
MALICIOUS_CODE |
EI_EXPOSE_REP |
104 |
Medium |
fr.paris.lutece.plugins.document.web.ResourceValueObject.setContent(byte[]) may expose internal representation by storing an externally mutable object into ResourceValueObject._content |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
113 |
Medium |
fr.paris.lutece.plugins.document.web.publishing.DocumentPublishingJspBean
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Switch statement found in fr.paris.lutece.plugins.document.web.publishing.DocumentPublishingJspBean.doChangeModePublication(HttpServletRequest) where default case is missing |
STYLE |
SF_SWITCH_NO_DEFAULT |
665-668 |
Medium |
fr.paris.lutece.plugins.document.web.rules.DocumentRulesJspBean
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.document.web.rules.DocumentRulesJspBean.getRuleSession() may expose internal representation by returning DocumentRulesJspBean._rule |
MALICIOUS_CODE |
EI_EXPOSE_REP |
100 |
Medium |
fr.paris.lutece.plugins.document.web.rules.DocumentRulesJspBean.setRuleSession(Rule) may expose internal representation by storing an externally mutable object into DocumentRulesJspBean._rule |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
109 |
Medium |
Class fr.paris.lutece.plugins.document.web.rules.DocumentRulesJspBean defines non-transient non-serializable instance field _rule |
BAD_PRACTICE |
SE_BAD_FIELD |
Non disponible |
Medium |