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
181400

org.deegree.feature.persistence.shape.DBFIndex

BugCategoryDetailsLinePriority
A prepared statement is generated from a nonconstant String in org.deegree.feature.persistence.shape.DBFIndex.query(List, Filter, SortProperty[]) SECURITYSQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING133Medium

org.deegree.feature.persistence.shape.DBFReader

BugCategoryDetailsLinePriority
Dead store to pos in org.deegree.feature.persistence.shape.DBFReader.getEntry(int)STYLEDLS_DEAD_LOCAL_STORE332Medium
Found reliance on default encoding in org.deegree.feature.persistence.shape.DBFReader.getEntry(int): new String(byte[], int, int)I18NDM_DEFAULT_ENCODING381High
Found reliance on default encoding in org.deegree.feature.persistence.shape.DBFReader.getEntry(int): new String(byte[], int, int)I18NDM_DEFAULT_ENCODING386High
Found reliance on default encoding in org.deegree.feature.persistence.shape.DBFReader.getEntry(int): new String(byte[], int, int)I18NDM_DEFAULT_ENCODING387High

org.deegree.feature.persistence.shape.DbfIndexImporter

BugCategoryDetailsLinePriority
org.deegree.feature.persistence.shape.DbfIndexImporter.createIndexes(Connection) may fail to clean up java.sql.Statement on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE257Medium
org.deegree.feature.persistence.shape.DbfIndexImporter.insertRow(Connection, Iterator, int) may fail to clean up java.sql.Statement on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE233Medium
org.deegree.feature.persistence.shape.DbfIndexImporter.insertRow(Connection, Iterator, int) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR243Medium

org.deegree.feature.persistence.shape.SHPReader

BugCategoryDetailsLinePriority
Nullcheck of SHPReader.rtree at line 371 of value previously dereferenced in org.deegree.feature.persistence.shape.SHPReader.query(Envelope, HashSet)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE365Medium
Switch statement found in new org.deegree.feature.persistence.shape.SHPReader(RandomAccessFile, ICRS, SpatialIndex, boolean) where default case is missingSTYLESF_SWITCH_NO_DEFAULT261Medium
Switch statement found in org.deegree.feature.persistence.shape.SHPReader.parseMultiPatch(double[][][], int[]) where default case is missingSTYLESF_SWITCH_NO_DEFAULT1000Medium
Switch statement found in org.deegree.feature.persistence.shape.SHPReader.query(Envelope, boolean, boolean) where default case is missingSTYLESF_SWITCH_NO_DEFAULT428Medium

org.deegree.feature.persistence.shape.ShapeFeatureStore

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.feature.persistence.shape.ShapeFeatureStore.getCRSFromFile(File): new java.io.FileReader(File)I18NDM_DEFAULT_ENCODING306High
Immediate dereference of the result of readLine() in org.deegree.feature.persistence.shape.ShapeFeatureStore.getCRSFromFile(File)STYLENP_IMMEDIATE_DEREFERENCE_OF_READLINE307Medium