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
| Classes | Bugs | Erreurs | Classes Manquantes |
|---|---|---|---|
| 7 | 6 | 0 | 0 |
| Bug | Catégorie | Détails | Ligne | Priorité |
|---|---|---|---|---|
| Primitive boxed just to call toString in fr.paris.lutece.plugins.childpages.business.portlet.ChildPagesPortlet.getXml(HttpServletRequest) | PERFORMANCE | DM_BOXED_PRIMITIVE_TOSTRING | 131 | Medium |
| fr.paris.lutece.plugins.childpages.business.portlet.ChildPagesPortlet.getXml(HttpServletRequest) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead | PERFORMANCE | DM_NUMBER_CTOR | 131 | Medium |
| Bug | Catégorie | Détails | Ligne | Priorité |
|---|---|---|---|---|
| fr.paris.lutece.plugins.childpages.business.portlet.ChildPagesPortletHome.getDAO() may expose internal representation by returning ChildPagesPortletHome._dao | MALICIOUS_CODE | EI_EXPOSE_REP | 104 | Medium |
| Public static fr.paris.lutece.plugins.childpages.business.portlet.ChildPagesPortletHome.getInstance() may expose internal representation by returning ChildPagesPortletHome._singleton | MALICIOUS_CODE | MS_EXPOSE_REP | 94 | Medium |
| Bug | Catégorie | Détails | Ligne | Priorité |
|---|---|---|---|---|
| Nullcheck of strParentPage at line 138 of value previously dereferenced in fr.paris.lutece.plugins.childpages.web.portlet.ChildPagesPortletJspBean.doCreate(HttpServletRequest) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 138 | Medium |
| Nullcheck of strParentPage at line 211 of value previously dereferenced in fr.paris.lutece.plugins.childpages.web.portlet.ChildPagesPortletJspBean.doModify(HttpServletRequest) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 211 | Medium |