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
882600

org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType

BugCategoryDetailsLinePriority
org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType.getTypeNames() may expose internal representation by returning DescribeFeatureType.typeNamesMALICIOUS_CODEEI_EXPOSE_REP107Medium
new org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType(Version, String, String, QName[], Map) may expose internal representation by storing an externally mutable object into DescribeFeatureType.typeNamesMALICIOUS_CODEEI_EXPOSE_REP288Medium
org.deegree.protocol.wfs.describefeaturetype.DescribeFeatureType.toString() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION129Medium

org.deegree.protocol.wfs.describefeaturetype.kvp.DescribeFeatureTypeKVPAdapter

BugCategoryDetailsLinePriority
Comparison of String objects using == or != in org.deegree.protocol.wfs.describefeaturetype.kvp.DescribeFeatureTypeKVPAdapter.augmentNsBindings(Map, QName[]) BAD_PRACTICEES_COMPARING_STRINGS_WITH_EQ272Medium
Comparison of String objects using == or != in org.deegree.protocol.wfs.describefeaturetype.kvp.DescribeFeatureTypeKVPAdapter.export(DescribeFeatureType, Version) BAD_PRACTICEES_COMPARING_STRINGS_WITH_EQ215Medium
org.deegree.protocol.wfs.describefeaturetype.kvp.DescribeFeatureTypeKVPAdapter.export(DescribeFeatureType, Version) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR230Medium

org.deegree.protocol.wfs.getfeature.kvp.GetFeatureKVPAdapter

BugCategoryDetailsLinePriority
org.deegree.protocol.wfs.getfeature.kvp.GetFeatureKVPAdapter.parse100(Map, Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR133Medium
org.deegree.protocol.wfs.getfeature.kvp.GetFeatureKVPAdapter.parse110(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR278Medium

org.deegree.protocol.wfs.getfeature.xml.GetFeature110XMLEncoder

BugCategoryDetailsLinePriority
instanceof will always return true for all nonnull values in org.deegree.protocol.wfs.getfeature.xml.GetFeature110XMLEncoder.writePropertyNameCharacters(ValueReference, XMLStreamWriter), since all org.deegree.commons.xml.NamespaceBindings are instances of org.deegree.commons.xml.NamespaceBindingsSTYLEBC_VACUOUS_INSTANCEOF342Medium
Redundant nullcheck of projectionClause, which is known to be non-null in org.deegree.protocol.wfs.getfeature.xml.GetFeature110XMLEncoder.export(FilterQuery, XMLStreamWriter)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE237Medium

org.deegree.protocol.wfs.getpropertyvalue.kvp.GetPropertyValueKVPAdapter

BugCategoryDetailsLinePriority
org.deegree.protocol.wfs.getpropertyvalue.kvp.GetPropertyValueKVPAdapter.parse200(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR114Medium

org.deegree.protocol.wfs.lockfeature.kvp.LockFeatureKVPAdapter

BugCategoryDetailsLinePriority
Redundant nullcheck of typeNames, which is known to be non-null in org.deegree.protocol.wfs.lockfeature.kvp.LockFeatureKVPAdapter.parse110(Map)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE193Medium
org.deegree.protocol.wfs.lockfeature.kvp.LockFeatureKVPAdapter.parse110(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR134Medium

org.deegree.protocol.wfs.query.AdHocQuery

BugCategoryDetailsLinePriority
org.deegree.protocol.wfs.query.AdHocQuery.getProjectionClauses() may expose internal representation by returning AdHocQuery.projectionClausesMALICIOUS_CODEEI_EXPOSE_REP134Medium
org.deegree.protocol.wfs.query.AdHocQuery.getSortBy() may expose internal representation by returning AdHocQuery.sortByMALICIOUS_CODEEI_EXPOSE_REP143Medium
org.deegree.protocol.wfs.query.AdHocQuery.getTypeNames() may expose internal representation by returning AdHocQuery.typeNamesMALICIOUS_CODEEI_EXPOSE_REP107Medium
new org.deegree.protocol.wfs.query.AdHocQuery(String, TypeName[], String, ICRS, ProjectionClause[], SortProperty[]) may expose internal representation by storing an externally mutable object into AdHocQuery.projectionClausesMALICIOUS_CODEEI_EXPOSE_REP290Medium
new org.deegree.protocol.wfs.query.AdHocQuery(String, TypeName[], String, ICRS, ProjectionClause[], SortProperty[]) may expose internal representation by storing an externally mutable object into AdHocQuery.sortByMALICIOUS_CODEEI_EXPOSE_REP295Medium
new org.deegree.protocol.wfs.query.AdHocQuery(String, TypeName[], String, ICRS, ProjectionClause[], SortProperty[]) may expose internal representation by storing an externally mutable object into AdHocQuery.typeNamesMALICIOUS_CODEEI_EXPOSE_REP285Medium

org.deegree.protocol.wfs.query.FeatureIdQuery

BugCategoryDetailsLinePriority
org.deegree.protocol.wfs.query.FeatureIdQuery.getFeatureIds() may expose internal representation by returning FeatureIdQuery.featureIdsMALICIOUS_CODEEI_EXPOSE_REP91Medium
new org.deegree.protocol.wfs.query.FeatureIdQuery(String, TypeName[], String, ICRS, PropertyName[], SortProperty[], String[]) may expose internal representation by storing an externally mutable object into FeatureIdQuery.featureIdsMALICIOUS_CODEEI_EXPOSE_REP282Medium

org.deegree.protocol.wfs.query.kvp.QueryKVPAdapter

BugCategoryDetailsLinePriority
Possible null pointer dereference of ptxDepthAr in org.deegree.protocol.wfs.query.kvp.QueryKVPAdapter.getXLinkPropNames(PropertyName[][], String[][], Integer[][])CORRECTNESSNP_NULL_ON_SOME_PATH553Medium
org.deegree.protocol.wfs.query.kvp.QueryKVPAdapter.parseAdhocQueries200(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR210Medium
org.deegree.protocol.wfs.query.kvp.QueryKVPAdapter.parseStoredQuery200(Map) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR491Medium

org.deegree.protocol.wfs.storedquery.DescribeStoredQueries

BugCategoryDetailsLinePriority
org.deegree.protocol.wfs.storedquery.DescribeStoredQueries.getStoredQueryIds() may expose internal representation by returning DescribeStoredQueries.storedQueryIdsMALICIOUS_CODEEI_EXPOSE_REP84Medium
new org.deegree.protocol.wfs.storedquery.DescribeStoredQueries(Version, String, String[]) may expose internal representation by storing an externally mutable object into DescribeStoredQueries.storedQueryIdsMALICIOUS_CODEEI_EXPOSE_REP274Medium