FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
961700

org.deegree.services.wps.ExecutionManager

BugCategoryDetailsLinePriority
Synchronization performed on java.util.concurrent.ConcurrentLinkedQueue in org.deegree.services.wps.ExecutionManager.createProcessletExecution(ExecuteRequest, StorageLocation, URL, List, ProcessletOutputs)MT_CORRECTNESSJLM_JSR166_UTILCONCURRENT_MONITORENTER141Medium

org.deegree.services.wps.ProcessExecution

BugCategoryDetailsLinePriority
Unwritten field: org.deegree.services.wps.ProcessExecution.acceptedMessageCORRECTNESSUWF_UNWRITTEN_FIELD144Medium

org.deegree.services.wps.WPService

BugCategoryDetailsLinePriority
Dead store to processId in org.deegree.services.wps.WPService.doDescribeProcess(DescribeProcessRequest, HttpResponseBuffer)STYLEDLS_DEAD_LOCAL_STORE460Medium

org.deegree.services.wps.execute.AttributedParameter

BugCategoryDetailsLinePriority
org.deegree.services.wps.execute.AttributedParameter.toString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION209Medium
new org.deegree.services.wps.execute.AttributedParameter(CodeType, String, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR73Medium

org.deegree.services.wps.execute.ExecuteRequestXMLAdapter

BugCategoryDetailsLinePriority
Dead store to mimeType in org.deegree.services.wps.execute.ExecuteRequestXMLAdapter.parseOutput(OMElement, ProcessDefinition, ExceptionCustomizer)STYLEDLS_DEAD_LOCAL_STORE822Medium
Dead store to mimeType in org.deegree.services.wps.execute.ExecuteRequestXMLAdapter.parseRawDataOutput(OMElement, ProcessDefinition, ExceptionCustomizer)STYLEDLS_DEAD_LOCAL_STORE877Medium
Possible null pointer dereference of xmlWriter in org.deegree.services.wps.execute.ExecuteRequestXMLAdapter.parseComplexData(ComplexInputDefinition, OMElement, LanguageString, LanguageString, ExceptionCustomizer) on exception pathCORRECTNESSNP_NULL_ON_SOME_PATH_EXCEPTION504Medium

org.deegree.services.wps.input.EmbeddedComplexInput

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.services.wps.input.EmbeddedComplexInput.getValueAsBinaryStream(): String.getBytes()I18NDM_DEFAULT_ENCODING123High

org.deegree.services.wps.input.InputReference

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.services.wps.input.InputReference.openStream(): String.getBytes()I18NDM_DEFAULT_ENCODING149High

org.deegree.services.wps.output.ProcessletOutputImpl

BugCategoryDetailsLinePriority
Unread field: org.deegree.services.wps.output.ProcessletOutputImpl.summaryPERFORMANCEURF_UNREAD_FIELD92Medium
Unread field: org.deegree.services.wps.output.ProcessletOutputImpl.titlePERFORMANCEURF_UNREAD_FIELD88Medium

org.deegree.services.wps.storage.OutputStorage

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.services.wps.storage.OutputStorage.retrieveMimeType(): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING96High
Found reliance on default encoding in org.deegree.services.wps.storage.OutputStorage.storeMimeType(): new java.io.FileWriter(File)I18NDM_DEFAULT_ENCODING81High

org.deegree.services.wps.storage.StorageManager

BugCategoryDetailsLinePriority
exceptional return value of java.io.File.delete() ignored in org.deegree.services.wps.storage.StorageManager.newInputSink()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE144Medium
exceptional return value of java.io.File.delete() ignored in org.deegree.services.wps.storage.StorageManager.newOutputStorage(String)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE107Medium
exceptional return value of java.io.File.delete() ignored in org.deegree.services.wps.storage.StorageManager.newResponseDocumentStorage(String)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE119Medium