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
261900

org.deegree.featureinfo.serializing.FeatureInfoGmlWriter

BugCategoryDetailsLinePriority
Comparison of String objects using == or != in org.deegree.featureinfo.serializing.FeatureInfoGmlWriter.export(FeatureCollection, GMLStreamWriter, String, Map) BAD_PRACTICEES_COMPARING_STRINGS_WITH_EQ121Medium

org.deegree.featureinfo.templating.Templating2Lexer

BugCategoryDetailsLinePriority
Switch statement found in org.deegree.featureinfo.templating.Templating2Lexer.mKvp() where default case is missingSTYLESF_SWITCH_NO_DEFAULT799Medium

org.deegree.featureinfo.templating.Templating2Parser

BugCategoryDetailsLinePriority
org.deegree.featureinfo.templating.Templating2Parser.getTokenNames() may expose internal representation by returning Templating2Parser.tokenNamesMALICIOUS_CODEEI_EXPOSE_REP68Medium
org.deegree.featureinfo.templating.Templating2Parser.tokenNames should be package protectedMALICIOUS_CODEMS_PKGPROTECT16Medium
Possible null pointer dereference of null in org.deegree.featureinfo.templating.Templating2Parser.kvp(HashMap)CORRECTNESSNP_NULL_ON_SOME_PATH958Medium
Possible null pointer dereference of null in org.deegree.featureinfo.templating.Templating2Parser.url()CORRECTNESSNP_NULL_ON_SOME_PATH1847Medium
Redundant nullcheck of p, which is known to be non-null in org.deegree.featureinfo.templating.Templating2Parser.templatepatterns(List)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE1307High
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.definition(HashMap) where default case is missingSTYLESF_SWITCH_NO_DEFAULT180Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.definitions() where default case is missingSTYLESF_SWITCH_NO_DEFAULT91Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.map(HashMap) where default case is missingSTYLESF_SWITCH_NO_DEFAULT868Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.name() where default case is missingSTYLESF_SWITCH_NO_DEFAULT1565Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.template(HashMap) where default case is missingSTYLESF_SWITCH_NO_DEFAULT275Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.templatebody(TemplateDefinition) where default case is missingSTYLESF_SWITCH_NO_DEFAULT449Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.templatebodytext() where default case is missingSTYLESF_SWITCH_NO_DEFAULT692Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.templatepatterns(List) where default case is missingSTYLESF_SWITCH_NO_DEFAULT1202Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.templateselector(List) where default case is missingSTYLESF_SWITCH_NO_DEFAULT1117Medium
Switch statement found in org.deegree.featureinfo.templating.Templating2Parser.value() where default case is missingSTYLESF_SWITCH_NO_DEFAULT1654Medium

org.deegree.featureinfo.templating.Templating2Parser$DFA22

BugCategoryDetailsLinePriority
Should org.deegree.featureinfo.templating.Templating2Parser$DFA22 be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC1976Medium