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 |
16 |
11 |
0 |
0 |
fr.paris.lutece.plugins.links.business.Link
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.links.business.Link.getDate() may expose internal representation by returning Link._date |
MALICIOUS_CODE |
EI_EXPOSE_REP |
200 |
Medium |
fr.paris.lutece.plugins.links.business.Link.getImageContent() may expose internal representation by returning Link._imageContent |
MALICIOUS_CODE |
EI_EXPOSE_REP |
336 |
Medium |
fr.paris.lutece.plugins.links.business.Link.setDate(Date) may expose internal representation by storing an externally mutable object into Link._date |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
190 |
Medium |
fr.paris.lutece.plugins.links.business.Link.setImageContent(byte[]) may expose internal representation by storing an externally mutable object into Link._imageContent |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
346 |
Medium |
Incorrect lazy initialization and update of static field fr.paris.lutece.plugins.links.business.Link._listenerWorkgroup in fr.paris.lutece.plugins.links.business.Link.init() |
MT_CORRECTNESS |
LI_LAZY_INIT_UPDATE_STATIC |
96-98 |
Medium |
fr.paris.lutece.plugins.links.util.LinksImageProvider
Bug |
Category |
Details |
Line |
Priority |
Write to static field fr.paris.lutece.plugins.links.util.LinksImageProvider._singleton from instance method new fr.paris.lutece.plugins.links.util.LinksImageProvider() |
STYLE |
ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD |
54 |
High |
fr.paris.lutece.plugins.links.web.LinksLibraryJspBean
Bug |
Category |
Details |
Line |
Priority |
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.LinksLibraryJspBean.getCreateLink(HttpServletRequest) |
STYLE |
DLS_DEAD_LOCAL_STORE |
320 |
Medium |
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.LinksLibraryJspBean.getModifyLink(HttpServletRequest) |
STYLE |
DLS_DEAD_LOCAL_STORE |
387 |
Medium |
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.LinksLibraryJspBean.getUrlsListFromMultipart(String, MultipartHttpServletRequest) |
STYLE |
DLS_DEAD_LOCAL_STORE |
665 |
Medium |
fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean
Bug |
Category |
Details |
Line |
Priority |
Dead store to virtualHosts in fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean.getLinksInPortletList(int) |
STYLE |
DLS_DEAD_LOCAL_STORE |
315 |
Medium |
fr.paris.lutece.plugins.links.web.portlet.LinksPortletJspBean.getLinksInPortletList(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead |
PERFORMANCE |
DM_NUMBER_CTOR |
320 |
Medium |