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 |
66 |
7 |
0 |
0 |
fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLog
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLog.getDateLogin() may expose internal representation by returning ConnectionLog._dateLogin |
MALICIOUS_CODE |
EI_EXPOSE_REP |
78 |
Medium |
fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLog.setDateLogin(Timestamp) may expose internal representation by storing an externally mutable object into ConnectionLog._dateLogin |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
89 |
Medium |
fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLogDAO
Bug |
Category |
Details |
Line |
Priority |
Result of integer multiplication cast to long in fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLogDAO.resetConnectionLogs(String, Timestamp, int, Plugin) |
STYLE |
ICAST_INTEGER_MULTIPLY_CAST_TO_LONG |
105 |
Medium |
Result of integer multiplication cast to long in fr.paris.lutece.plugins.mylutece.authentication.logs.ConnectionLogDAO.selectLoginErrors(ConnectionLog, int, Plugin) |
STYLE |
ICAST_INTEGER_MULTIPLY_CAST_TO_LONG |
61 |
Medium |
fr.paris.lutece.plugins.mylutece.service.MyLuteceExternalIdentityService
Bug |
Category |
Details |
Line |
Priority |
Write to static field fr.paris.lutece.plugins.mylutece.service.MyLuteceExternalIdentityService.ATTRIBUTE_USER_MAPPING from instance method fr.paris.lutece.plugins.mylutece.service.MyLuteceExternalIdentityService.getDefaulLuteceUserAttributeDescription(Locale) |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
153 |
Medium |
fr.paris.lutece.plugins.mylutece.web.security.AuthenticationFilterJspBean
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.mylutece.web.security.AuthenticationFilterJspBean.doChangeUseAuthenticationRequired(HttpServletRequest) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead |
PERFORMANCE |
DM_BOOLEAN_CTOR |
257 |
Medium |
Primitive boxed just to call toString in fr.paris.lutece.plugins.mylutece.web.security.AuthenticationFilterJspBean.doChangeUseAuthenticationRequired(HttpServletRequest) |
PERFORMANCE |
DM_BOXED_PRIMITIVE_TOSTRING |
257 |
Medium |