Fork me on GitHub

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
83 12 0 0

fr.paris.lutece.plugins.document.modules.cmis.service.BaseRepository

Bug Category Details Line Priority
Integral value cast to double and then passed to Math.ceil in fr.paris.lutece.plugins.document.modules.cmis.service.BaseRepository.millisToCalendar(long) CORRECTNESS ICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL 314 High

fr.paris.lutece.plugins.document.modules.cmis.service.DocumentRepository

Bug Category Details Line Priority
Found reliance on default encoding in fr.paris.lutece.plugins.document.modules.cmis.service.DocumentRepository.getContentStream(CallContext, String, BigInteger, BigInteger): String.getBytes() I18N DM_DEFAULT_ENCODING 443 High

org.apache.chemistry.opencmis.server.impl.atompub.AtomDocumentBase

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.chemistry.opencmis.server.impl.atompub.AtomDocumentBase.generateAtomId(String): new String(byte[]) I18N DM_DEFAULT_ENCODING 76 High

org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet

Bug Category Details Line Priority
Dead store to factory in org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet.init(ServletConfig) STYLE DLS_DEAD_LOCAL_STORE 122 Medium

org.apache.chemistry.opencmis.server.impl.browser.BrowserBindingUtils

Bug Category Details Line Priority
Found reliance on default encoding in org.apache.chemistry.opencmis.server.impl.browser.BrowserBindingUtils.getCookieName(String): String.getBytes() I18N DM_DEFAULT_ENCODING 535 High

org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler

Bug Category Details Line Priority
org.apache.chemistry.opencmis.server.impl.webservices.AbstractUsernameTokenAuthHandler.HEADERS is a mutable collection which should be package protected MALICIOUS_CODE MS_MUTABLE_COLLECTION_PKGPROTECT 75 Medium

org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler

Bug Category Details Line Priority
org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler.handleMessage(MessageHandlerContext) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 79 Medium

org.apache.chemistry.opencmis.server.impl.webservices.WebSphereAuthHandler

Bug Category Details Line Priority
org.apache.chemistry.opencmis.server.impl.webservices.WebSphereAuthHandler.handleMessage(SOAPMessageContext) might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 93 Medium

org.apache.chemistry.opencmis.server.shared.Dispatcher

Bug Category Details Line Priority
Class org.apache.chemistry.opencmis.server.shared.Dispatcher defines non-transient non-serializable instance field methodMap BAD_PRACTICE SE_BAD_FIELD Not available High

org.apache.chemistry.opencmis.server.shared.ExceptionHelper

Bug Category Details Line Priority
Exception is caught when Exception is not thrown in org.apache.chemistry.opencmis.server.shared.ExceptionHelper.getStacktraceAsNode(Throwable) STYLE REC_CATCH_EXCEPTION 87 Medium

org.apache.chemistry.opencmis.server.shared.HttpUtils

Bug Category Details Line Priority
org.apache.chemistry.opencmis.server.shared.HttpUtils.getBooleanParameter(HttpServletRequest, String) has Boolean return type and returns explicit null BAD_PRACTICE NP_BOOLEAN_RETURN_NULL 238 Medium

org.apache.chemistry.opencmis.server.shared.ThresholdOutputStream

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in org.apache.chemistry.opencmis.server.shared.ThresholdOutputStream.destroy() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 186 Medium