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 |
---|---|---|---|---|
new org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore(String, File, RegistryPackage, Date, long) may expose internal representation by storing an externally mutable object into EbrimEOMDStore.lastModified | MALICIOUS_CODE | EI_EXPOSE_REP2 | 163 | Medium |
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.init(DeegreeWorkspace) may fail to clean up java.sql.ResultSet | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 219 | Medium |
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.init(DeegreeWorkspace) may fail to clean up java.sql.Statement | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 218 | Medium |
Nullcheck of query at line 396 of value previously dereferenced in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.getRecords(MetadataQuery) | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 345 | Medium |
A prepared statement is generated from a nonconstant String in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.getRecordById(List, QName[]) | SECURITY | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 559 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore$EbrimEOMDResultSet be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 657 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.getAsByteArray(OMElement): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 360 | High |
Found reliance on default encoding in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.getAsByteArray(OMElement): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 362 | High |
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.getNewId(Connection) may fail to clean up java.sql.Statement | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 277 | Medium |
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.performDelete(DeleteOperation) may fail to clean up java.sql.Statement | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION | 208 | Medium |
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.concatenate(String[]) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 459 | Medium |
A prepared statement is generated from a nonconstant String in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.performDelete(DeleteOperation) | SECURITY | SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING | 208 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.deegree.metadata.persistence.ebrim.eo.mapping.EOPropertyNameMapper.addMapping(ValueReference, List, AliasedRIMType, String, SlotMapping$SlotType) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 526 | Medium |