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 |
56 |
17 |
0 |
0 |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment.getAssignedUnit() may expose internal representation by returning UnitAssignment._assignedUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP |
137 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment.getAssignmentDate() may expose internal representation by returning UnitAssignment._dateAssignmentDate |
MALICIOUS_CODE |
EI_EXPOSE_REP |
179 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment.getAssignorUnit() may expose internal representation by returning UnitAssignment._assignorUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP |
158 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment.setAssignedUnit(Unit) may expose internal representation by storing an externally mutable object into UnitAssignment._assignedUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
148 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment.setAssignmentDate(Timestamp) may expose internal representation by storing an externally mutable object into UnitAssignment._dateAssignmentDate |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
190 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment.setAssignorUnit(Unit) may expose internal representation by storing an externally mutable object into UnitAssignment._assignorUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
169 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignmentFilter
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignmentFilter.getIdAssignedUnit() may expose internal representation by returning UnitAssignmentFilter._listIdAssignedUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP |
84 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignmentFilter.getIdResource() may expose internal representation by returning UnitAssignmentFilter._listIdResource |
MALICIOUS_CODE |
EI_EXPOSE_REP |
103 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignmentFilter.setIdAssignedUnit(List) may expose internal representation by storing an externally mutable object into UnitAssignmentFilter._listIdAssignedUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
94 |
Medium |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignmentFilter.setIdResource(List) may expose internal representation by storing an externally mutable object into UnitAssignmentFilter._listIdResource |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
113 |
Medium |
fr.paris.lutece.plugins.unittree.business.unit.TreeUnit
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
fr.paris.lutece.plugins.unittree.business.unit.TreeUnit.getSubUnits() may expose internal representation by returning TreeUnit._subUnits |
MALICIOUS_CODE |
EI_EXPOSE_REP |
93 |
Medium |
fr.paris.lutece.plugins.unittree.business.unit.TreeUnit.getUnitNode() may expose internal representation by returning TreeUnit._unitNode |
MALICIOUS_CODE |
EI_EXPOSE_REP |
73 |
Medium |
new fr.paris.lutece.plugins.unittree.business.unit.TreeUnit(Unit) may expose internal representation by storing an externally mutable object into TreeUnit._unitNode |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
62 |
Medium |
fr.paris.lutece.plugins.unittree.business.unit.TreeUnit.setSubUnits(List) may expose internal representation by storing an externally mutable object into TreeUnit._subUnits |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
103 |
Medium |
fr.paris.lutece.plugins.unittree.business.unit.TreeUnit.setUnitNode(Unit) may expose internal representation by storing an externally mutable object into TreeUnit._unitNode |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
83 |
Medium |
fr.paris.lutece.plugins.unittree.web.UnitJspBean
Bug |
Catégorie |
Détails |
Ligne |
Priorité |
Class fr.paris.lutece.plugins.unittree.web.UnitJspBean defines non-transient non-serializable instance field _fullUnitTree |
BAD_PRACTICE |
SE_BAD_FIELD |
Non disponible |
High |
The field fr.paris.lutece.plugins.unittree.web.UnitJspBean._unitUserSearchFields is transient but isn't set by deserialization |
BAD_PRACTICE |
SE_TRANSIENT_FIELD_NOT_RESTORED |
Non disponible |
Medium |