Fork me on GitHub

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
14 12 0 25

Fichiers

Classe Bugs
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute 6
fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardIdentity 2
fr.paris.lutece.plugins.mydashboard.modules.identity.service.DashboardIdentityService 1
fr.paris.lutece.plugins.mydashboard.modules.identity.util.DashboardIdentityUtils 3

fr.paris.lutece.plugins.mydashboard.modules.identity.business.DashboardAttribute

Bug Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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 Catégorie Détails Ligne Priorité
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