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 |
49 |
21 |
0 |
0 |
fr.paris.lutece.plugins.jsr168.pluto.LuteceHttpServletResponse
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in new fr.paris.lutece.plugins.jsr168.pluto.LuteceHttpServletResponse(HttpServletResponse): new java.io.PrintWriter(OutputStream) |
I18N |
DM_DEFAULT_ENCODING |
79 |
High |
fr.paris.lutece.plugins.jsr168.pluto.core.PortalContextProviderImpl
Bug |
Category |
Details |
Line |
Priority |
fr.paris.lutece.plugins.jsr168.pluto.core.PortalContextProviderImpl.reset(String) invoque le constructeur inutile String(String) ; utilisez juste l'argument |
PERFORMANCE |
DM_STRING_CTOR |
234 |
Medium |
fr.paris.lutece.plugins.jsr168.pluto.core.PortletContainerEnvironment
Bug |
Category |
Details |
Line |
Priority |
The class name fr.paris.lutece.plugins.jsr168.pluto.core.PortletContainerEnvironment shadows the simple name of implemented interface org.apache.pluto.services.PortletContainerEnvironment |
BAD_PRACTICE |
NM_SAME_SIMPLE_NAME_AS_INTERFACE |
53-93 |
Medium |
fr.paris.lutece.plugins.jsr168.pluto.factory.PortletPreferencesFactoryImpl
Bug |
Category |
Details |
Line |
Priority |
The class name fr.paris.lutece.plugins.jsr168.pluto.factory.PortletPreferencesFactoryImpl shadows the simple name of the superclass org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl |
BAD_PRACTICE |
NM_SAME_SIMPLE_NAME_AS_SUPERCLASS |
45-54 |
High |
fr.paris.lutece.plugins.jsr168.pluto.factory.PortletPreferencesImpl
Bug |
Category |
Details |
Line |
Priority |
The class name fr.paris.lutece.plugins.jsr168.pluto.factory.PortletPreferencesImpl shadows the simple name of the superclass org.apache.pluto.core.impl.PortletPreferencesImpl |
BAD_PRACTICE |
NM_SAME_SIMPLE_NAME_AS_SUPERCLASS |
47-53 |
High |
fr.paris.lutece.plugins.jsr168.pluto.services.portletentityregistry.PortletEntityRegistryServiceFileImpl
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in fr.paris.lutece.plugins.jsr168.pluto.services.portletentityregistry.PortletEntityRegistryServiceFileImpl.store(): new java.io.FileWriter(String) |
I18N |
DM_DEFAULT_ENCODING |
213 |
High |
org.apache.pluto.invoker.impl.PortletInvokerImpl
Bug |
Category |
Details |
Line |
Priority |
Alimentation à perte d'une variable locale dans la méthode org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletRequest, PortletResponse, Integer) |
STYLE |
DLS_DEAD_LOCAL_STORE |
149 |
Medium |
Alimentation à perte d'une variable locale dans la méthode org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletRequest, PortletResponse, Integer) |
STYLE |
DLS_DEAD_LOCAL_STORE |
148 |
Medium |
org.apache.pluto.portalImpl.Deploy
Bug |
Category |
Details |
Line |
Priority |
Found reliance on default encoding in org.apache.pluto.portalImpl.Deploy.addToEntityReg(String[]): new String(byte[]) |
I18N |
DM_DEFAULT_ENCODING |
623 |
High |
Found reliance on default encoding in org.apache.pluto.portalImpl.Deploy.deployArchive(String, String): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
145 |
High |
Found reliance on default encoding in org.apache.pluto.portalImpl.Deploy.prepareWebArchive(String, String): new java.io.FileWriter(String) |
I18N |
DM_DEFAULT_ENCODING |
470 |
High |
org.apache.pluto.portalImpl.Deploy.copy(String, String) may fail to clean up java.io.InputStream |
EXPERIMENTAL |
OBL_UNSATISFIED_OBLIGATION |
509 |
Medium |
org.apache.pluto.portalImpl.Deploy.deployArchive(String, String) may fail to clean up java.io.OutputStream on checked exception |
EXPERIMENTAL |
OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE |
182 |
Medium |
La méthode org.apache.pluto.portalImpl.Deploy.copy(String, String) peut ne pas fermer un flux |
BAD_PRACTICE |
OS_OPEN_STREAM |
509 |
Medium |
La méthode org.apache.pluto.portalImpl.Deploy.deployArchive(String, String) peut ne pas fermer un flux |
BAD_PRACTICE |
OS_OPEN_STREAM |
132 |
Medium |
La méthode org.apache.pluto.portalImpl.Deploy.addToEntityReg(String[]) intercepte Exception, mais Exception n'est pas lancé dans le bloc try/catch et RuntimeException n'est pas appelé |
STYLE |
REC_CATCH_EXCEPTION |
647 |
Medium |
org.apache.pluto.portalImpl.Deploy.addToEntityReg(String[]) ignore le résultat de java.io.RandomAccessFile.read(byte[]) |
BAD_PRACTICE |
RR_NOT_CHECKED |
621 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.pluto.portalImpl.Deploy.copy(String, String) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
505 |
Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.apache.pluto.portalImpl.Deploy.deployArchive(String, String) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
171 |
Medium |
org.apache.pluto.portalImpl.xml.XmlParser$EntityResolver
Bug |
Category |
Details |
Line |
Priority |
La méthode new org.apache.pluto.portalImpl.xml.XmlParser$EntityResolver(String[], String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.pluto.portalImpl.xml.XmlParser$EntityResolver.resourceDTDNames |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
150 |
Medium |
La méthode new org.apache.pluto.portalImpl.xml.XmlParser$EntityResolver(String[], String[]) risque d'exposer sa représentation interne en stockant un objet externe modifiable dans org.apache.pluto.portalImpl.xml.XmlParser$EntityResolver.resourceDTDs |
MALICIOUS_CODE |
EI_EXPOSE_REP2 |
149 |
Medium |