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 |
74 |
19 |
0 |
34 |
fr.paris.lutece.plugins.crm.business.demand.Demand
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.crm.business.demand.Demand.getDateModification() may expose internal representation by returning Demand._dateModification |
MALICIOUS_CODE |
EI_EXPOSE_REP |
147 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.Demand.setDateModification(Timestamp) may expose internal representation by storing an externally mutable object into Demand._dateModification |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
158 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandFilter
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.crm.business.demand.DemandFilter.getDateModification() may expose internal representation by returning DemandFilter._dateModification |
MALICIOUS_CODE |
EI_EXPOSE_REP |
186 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandFilter.setDateModification(Date) may expose internal representation by storing an externally mutable object into DemandFilter._dateModification |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
176 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandType
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.crm.business.demand.DemandType.getXml(HttpServletRequest, Locale) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead |
PERFORMANCE |
DM_BOOLEAN_CTOR |
480 |
Medium |
Primitive boxed just to call toString in fr.paris.lutece.plugins.crm.business.demand.DemandType.getXml(HttpServletRequest, Locale) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_TOSTRING |
480 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandType.getDateBegin() may expose internal representation by returning DemandType._dateBegin |
MALICIOUS_CODE |
EI_EXPOSE_REP |
281 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandType.getDateEnd() may expose internal representation by returning DemandType._dateEnd |
MALICIOUS_CODE |
EI_EXPOSE_REP |
303 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandType.setDateBegin(Date) may expose internal representation by storing an externally mutable object into DemandType._dateBegin |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
292 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandType.setDateEnd(Date) may expose internal representation by storing an externally mutable object into DemandType._dateEnd |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
314 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter.getDateBegin() may expose internal representation by returning DemandTypeFilter._dateBegin |
MALICIOUS_CODE |
EI_EXPOSE_REP |
223 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter.getDateEnd() may expose internal representation by returning DemandTypeFilter._dateEnd |
MALICIOUS_CODE |
EI_EXPOSE_REP |
254 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter.setDateBegin(Date) may expose internal representation by storing an externally mutable object into DemandTypeFilter._dateBegin |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
213 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.DemandTypeFilter.setDateEnd(Date) may expose internal representation by storing an externally mutable object into DemandTypeFilter._dateEnd |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
244 |
Medium |
fr.paris.lutece.plugins.crm.business.demand.PaginationFilterSortManager
Bug |
Category |
Details |
Line |
Priority |
Boxing/unboxing to parse a primitive fr.paris.lutece.plugins.crm.business.demand.PaginationFilterSortManager.retrievePaginationProperties(int, Integer) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_FOR_PARSING |
404 |
High |
fr.paris.lutece.plugins.crm.business.notification.Notification
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.crm.business.notification.Notification.getDateCreation() may expose internal representation by returning Notification._dateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP |
176 |
Medium |
fr.paris.lutece.plugins.crm.business.notification.Notification.setDateCreation(Timestamp) may expose internal representation by storing an externally mutable object into Notification._dateCreation |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
166 |
Medium |
fr.paris.lutece.plugins.crm.business.user.CRMUser
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.crm.business.user.CRMUser.getDateLastLogin() may expose internal representation by returning CRMUser._dateLastLogin |
MALICIOUS_CODE |
EI_EXPOSE_REP |
207 |
Medium |
fr.paris.lutece.plugins.crm.business.user.CRMUser.setDateLastLogin(Timestamp) may expose internal representation by storing an externally mutable object into CRMUser._dateLastLogin |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
218 |
Medium |