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
271402

org.deegree.services.wps.provider.sextante.FormatHelper

BugCategoryDetailsLinePriority
Redundant nullcheck of schema, which is known to be non-null in org.deegree.services.wps.provider.sextante.FormatHelper.determineGMLType(ComplexInput)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE110Medium
Redundant nullcheck of schema, which is known to be non-null in org.deegree.services.wps.provider.sextante.FormatHelper.determineGMLType(ComplexOutput)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE128Medium
Redundant nullcheck of schema, which is known to be non-null in org.deegree.services.wps.provider.sextante.FormatHelper.determineGMLVersion(ComplexInput)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE74Medium
Redundant nullcheck of schema, which is known to be non-null in org.deegree.services.wps.provider.sextante.FormatHelper.determineGMLVersion(ComplexOutput)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE92Medium

org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamWriter

BugCategoryDetailsLinePriority
Write to static field org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamWriter.activeWriterCounter from instance method new org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamWriter(String, ProcessletOutputs)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD82Medium
Write to static field org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamWriter.activeWriterCounter from instance method org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamWriter.close()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD171Medium
org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamWriter.writeStartElement(Feature) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR105Medium

org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamer

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamer.execute()STYLEREC_CATCH_EXCEPTION272Medium
org.deegree.services.wps.provider.sextante.SextanteFeatureCollectionStreamer.execute() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR282Medium

org.deegree.services.wps.provider.sextante.SextanteProcesslet

BugCategoryDetailsLinePriority
org.deegree.services.wps.provider.sextante.SextanteProcesslet.setStringInputValue(ProcessletInputs, Parameter, GeoAlgorithm) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION494Medium
org.deegree.services.wps.provider.sextante.SextanteProcesslet.writeFeatureCollection(ComplexOutput, Feature) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR868Medium

org.deegree.services.wps.provider.sextante.SextanteWPSProcess

BugCategoryDetailsLinePriority
org.deegree.services.wps.provider.sextante.SextanteWPSProcess.createDescription(GeoAlgorithm, SextanteProcesses) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION372Medium

org.deegree.services.wps.provider.sextante.VectorLayerImpl

BugCategoryDetailsLinePriority
org.deegree.services.wps.provider.sextante.VectorLayerImpl.getFields() may expose internal representation by returning VectorLayerImpl.m_FieldsMALICIOUS_CODEEI_EXPOSE_REP186Medium
new org.deegree.services.wps.provider.sextante.VectorLayerImpl(String, String, Field[]) may expose internal representation by storing an externally mutable object into VectorLayerImpl.m_FieldsMALICIOUS_CODEEI_EXPOSE_REP2118Medium