FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is
Effort is max
Summary
Classes |
Bugs |
Errors |
Missing Classes |
14 |
12 |
0 |
25 |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute.getCertificateDate() may expose internal representation by returning DashboardAttribute._dCertificateDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
207 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute.getExpirationDate() may expose internal representation by returning DashboardAttribute._tCertificateExpirationDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
174 |
Medium |
new fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute(String, String, String, String, int, Date, Date) may expose internal representation by storing an externally mutable object into DashboardAttribute._dCertificateDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
66 |
Medium |
new fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute(String, String, String, String, int, Date, Date) may expose internal representation by storing an externally mutable object into DashboardAttribute._tCertificateExpirationDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
65 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute.setCertificateDate(Date) may expose internal representation by storing an externally mutable object into DashboardAttribute._dCertificateDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
215 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute.setExpirationDate(Date) may expose internal representation by storing an externally mutable object into DashboardAttribute._tCertificateExpirationDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
183 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardIdentity
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardIdentity.getLastUpdateDate() may expose internal representation by returning DashboardIdentity._lastUpdateDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
467 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardIdentity.setLastUpdateDate(Timestamp) may expose internal representation by storing an externally mutable object into DashboardIdentity._lastUpdateDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
475 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.service.DashboardIdentityService
Bug |
Category |
Details |
Line |
Priority |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.mydashboard.modules.identity.service.DashboardIdentityService._instance in fr.paris.lutece.plugins.mydashboard.modules.identity.service.DashboardIdentityService.getInstance() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
113-115 |
Medium |
fr.paris.lutece.plugins.mydashboard.modules.identity.util.DashboardIdentityUtils
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.mydashboard.modules.identity.util.DashboardIdentityUtils.needCertification(DashboardIdentity, ServiceContractSearchResponse, List, int) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
259 |
High |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.mydashboard.modules.identity.util.DashboardIdentityUtils._instance in fr.paris.lutece.plugins.mydashboard.modules.identity.util.DashboardIdentityUtils.getInstance() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
150-152 |
Medium |
Redundant nullcheck of dashboardIdentityFromRic, which is known to be non-null in fr.paris.lutece.plugins.mydashboard.modules.identity.util.DashboardIdentityUtils.convertToIdentityDto(DashboardIdentity, boolean, AttributeCategory) |
STYLE |
RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE |
312 |
Medium |