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 |
56 |
15 |
0 |
0 |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignment
Bug |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.unittree.business.assignment.UnitAssignmentFilter.getIdAssignedUnit() may expose internal representation by returning UnitAssignmentFilter._listIdAssignedUnit |
MALICIOUS_CODE |
EI_EXPOSE_REP |
82 |
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 |
92 |
Medium |
fr.paris.lutece.plugins.unittree.business.unit.TreeUnit
Bug |
Category |
Details |
Line |
Priority |
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 |
Category |
Details |
Line |
Priority |
Class fr.paris.lutece.plugins.unittree.web.UnitJspBean defines non-transient non-serializable instance field _fullUnitTree |
BAD_PRACTICE |
SE_BAD_FIELD |
Not available |
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 |
Not available |
Medium |