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 |
| 70 |
18 |
0 |
0 |
fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory
| Bug |
Category |
Details |
Line |
Priority |
| fr.paris.lutece.plugins.extend.business.extender.history.ResourceExtenderHistory.setDateCreation(Date) may expose internal representation by storing an externally mutable object into ResourceExtenderHistory._dateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
201 |
Medium |
fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener
| Bug |
Category |
Details |
Line |
Priority |
| Possible doublecheck on fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener._resourceExtenderHistoryService in fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener.getResourceExtenderHistoryService() |
MT_CORRECTNESS |
DC_DOUBLECHECK |
127-132 |
Medium |
| Possible doublecheck on fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener._resourceExtenderService in fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener.getResourceExtenderService() |
MT_CORRECTNESS |
DC_DOUBLECHECK |
105-110 |
Medium |
| Inconsistent synchronization of fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener._resourceExtenderHistoryService; locked 40% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
127 |
Medium |
| Inconsistent synchronization of fr.paris.lutece.plugins.extend.service.ExtendableResourceRemovalListener._resourceExtenderService; locked 40% of time |
MT_CORRECTNESS |
IS2_INCONSISTENT_SYNC |
105 |
Medium |
fr.paris.lutece.plugins.extend.service.extender.AbstractResourceExtender
| Bug |
Category |
Details |
Line |
Priority |
| fr.paris.lutece.plugins.extend.service.extender.AbstractResourceExtender.getResourceExtenderComponent() may expose internal representation by returning AbstractResourceExtender._resourceExtenderComponent |
MALICIOUS_CODE |
EI_EXPOSE_REP |
154 |
Medium |
| fr.paris.lutece.plugins.extend.service.extender.AbstractResourceExtender.setResourceExtenderComponent(IResourceExtenderComponent) may expose internal representation by storing an externally mutable object into AbstractResourceExtender._resourceExtenderComponent |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
165 |
Medium |
fr.paris.lutece.plugins.extend.service.extender.config.ResourceExtenderConfigService
| Bug |
Category |
Details |
Line |
Priority |
| fr.paris.lutece.plugins.extend.service.extender.config.ResourceExtenderConfigService.setExtenderConfigDAO(IExtenderConfigDAO) may expose internal representation by storing an externally mutable object into ResourceExtenderConfigService._extenderConfigDAO |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
70 |
Medium |
fr.paris.lutece.plugins.extend.service.extender.facade.ResourceExtenderServiceFacade
| Bug |
Category |
Details |
Line |
Priority |
| Public static fr.paris.lutece.plugins.extend.service.extender.facade.ResourceExtenderServiceFacade.getListExtenderType() may expose internal representation by returning ResourceExtenderServiceFacade._listExtenderType |
MALICIOUS_CODE |
MS_EXPOSE_REP |
146 |
Medium |
fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean
| Bug |
Category |
Details |
Line |
Priority |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _defaultResourceService |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _extenderComponentManager |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _extenderService |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _lastUrl |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _resourceExtenderHistoryService |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _resourceManager |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
| Class fr.paris.lutece.plugins.extend.web.ResourceExtenderJspBean defines non-transient non-serializable instance field _resourceTypeService |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
Medium |
fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent
| Bug |
Category |
Details |
Line |
Priority |
| fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent.getResourceExtender() may expose internal representation by returning AbstractResourceExtenderComponent._extender |
MALICIOUS_CODE |
EI_EXPOSE_REP |
72 |
Medium |
| fr.paris.lutece.plugins.extend.web.component.AbstractResourceExtenderComponent.setResourceExtender(IResourceExtender) may expose internal representation by storing an externally mutable object into AbstractResourceExtenderComponent._extender |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
63 |
Medium |