The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
A prepared statement is generated from a nonconstant String in org.deegree.feature.persistence.shape.DBFIndex.query(List, Filter, SortProperty[]) | SECURITY | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 133 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to pos in org.deegree.feature.persistence.shape.DBFReader.getEntry(int) | STYLE | DLS_DEAD_LOCAL_STORE | 332 | Medium |
Found reliance on default encoding in org.deegree.feature.persistence.shape.DBFReader.getEntry(int): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 381 | High |
Found reliance on default encoding in org.deegree.feature.persistence.shape.DBFReader.getEntry(int): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 386 | High |
Found reliance on default encoding in org.deegree.feature.persistence.shape.DBFReader.getEntry(int): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 387 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.deegree.feature.persistence.shape.DbfIndexImporter.createIndexes(Connection) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 257 | Medium |
org.deegree.feature.persistence.shape.DbfIndexImporter.insertRow(Connection, Iterator, int) may fail to clean up java.sql.Statement on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 233 | Medium |
org.deegree.feature.persistence.shape.DbfIndexImporter.insertRow(Connection, Iterator, int) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 243 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Nullcheck of SHPReader.rtree at line 371 of value previously dereferenced in org.deegree.feature.persistence.shape.SHPReader.query(Envelope, HashSet) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 365 | Medium |
Switch statement found in new org.deegree.feature.persistence.shape.SHPReader(RandomAccessFile, ICRS, SpatialIndex, boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 261 | Medium |
Switch statement found in org.deegree.feature.persistence.shape.SHPReader.parseMultiPatch(double[][][], int[]) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 1000 | Medium |
Switch statement found in org.deegree.feature.persistence.shape.SHPReader.query(Envelope, boolean, boolean) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 428 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.feature.persistence.shape.ShapeFeatureStore.getCRSFromFile(File): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 306 | High |
Immediate dereference of the result of readLine() in org.deegree.feature.persistence.shape.ShapeFeatureStore.getCRSFromFile(File) | STYLE | NP_IMMEDIATE_DEREFERENCE_OF_READLINE | 307 | Medium |