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
282600

org.deegree.client.i18n.Messages

BugCategoryDetailsLinePriority
org.deegree.client.i18n.Messages.<static initializer>() may fail to clean up java.io.InputStreamEXPERIMENTALOBL_UNSATISFIED_OBLIGATION84Medium
org.deegree.client.i18n.Messages.overrideMessages(String, Properties) may fail to clean up java.io.InputStream on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE113Medium
org.deegree.client.i18n.Messages.<static initializer>() may fail to close streamBAD_PRACTICEOS_OPEN_STREAM84Medium
org.deegree.client.i18n.Messages.overrideMessages(String, Properties) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR122Medium

org.deegree.client.sos.SOSClient

BugCategoryDetailsLinePriority
Class org.deegree.client.sos.SOSClient defines non-transient non-serializable instance field observationStoragesBAD_PRACTICESE_BAD_FIELDMedium

org.deegree.client.sos.requesthandler.HandleDescribeSensor

BugCategoryDetailsLinePriority
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseCapabilities()STYLEDLS_DEAD_LOCAL_STORE188Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseCharacteristics()STYLEDLS_DEAD_LOCAL_STORE198Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseClassification()STYLEDLS_DEAD_LOCAL_STORE208Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseContact()STYLEDLS_DEAD_LOCAL_STORE218Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseDocumentation()STYLEDLS_DEAD_LOCAL_STORE228Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseHistory()STYLEDLS_DEAD_LOCAL_STORE238Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseIdentification()STYLEDLS_DEAD_LOCAL_STORE248Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseKeywords()STYLEDLS_DEAD_LOCAL_STORE258Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseLegalConstraint()STYLEDLS_DEAD_LOCAL_STORE268Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseMember()STYLEDLS_DEAD_LOCAL_STORE278Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseSecurityConstraint()STYLEDLS_DEAD_LOCAL_STORE288Medium
Dead store to result in org.deegree.client.sos.requesthandler.HandleDescribeSensor.parseValidTime()STYLEDLS_DEAD_LOCAL_STORE298Medium

org.deegree.client.sos.requesthandler.HandleGetObservation

BugCategoryDetailsLinePriority
org.deegree.client.sos.requesthandler.HandleGetObservation.buildRequest(String, Map) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION139Medium
org.deegree.client.sos.requesthandler.HandleGetObservation.parseFeatureOfInterest(OMElement) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION317Medium
org.deegree.client.sos.requesthandler.HandleGetObservation.parseProcedure(OMElement) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION365Medium

org.deegree.client.sos.requesthandler.kvp.GetKVPDescribeSensor

BugCategoryDetailsLinePriority
Nullcheck of procedure at line 69 of value previously dereferenced in org.deegree.client.sos.requesthandler.kvp.GetKVPDescribeSensor.parseProcedure(List)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE69Medium

org.deegree.client.sos.requesthandler.kvp.GetKVPGetObservation

BugCategoryDetailsLinePriority
Nullcheck of procedure at line 96 of value previously dereferenced in org.deegree.client.sos.requesthandler.kvp.GetKVPGetObservation.parseOffering(List)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE96Medium

org.deegree.client.sos.storage.ChartInput

BugCategoryDetailsLinePriority
org.deegree.client.sos.storage.ChartInput.getDates() may expose internal representation by returning ChartInput.datesMALICIOUS_CODEEI_EXPOSE_REP47Medium
org.deegree.client.sos.storage.ChartInput.setDates(Date[]) may expose internal representation by storing an externally mutable object into ChartInput.datesMALICIOUS_CODEEI_EXPOSE_REP279Medium

org.deegree.client.sos.storage.components.OWSException

BugCategoryDetailsLinePriority
Class org.deegree.client.sos.storage.components.OWSException is not derived from an Exception, even though it is named as suchBAD_PRACTICENM_CLASS_NOT_EXCEPTION12Medium

org.deegree.client.sos.utils.ChartProcessing

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.deegree.client.sos.utils.ChartProcessing.createXYDataset(ChartInput)STYLEREC_CATCH_EXCEPTION103Medium