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
191300

org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore

BugCategoryDetailsLinePriority
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.lastModifiedMALICIOUS_CODEEI_EXPOSE_REP2163Medium
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.init(DeegreeWorkspace) may fail to clean up java.sql.ResultSetEXPERIMENTALOBL_UNSATISFIED_OBLIGATION219Medium
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.init(DeegreeWorkspace) may fail to clean up java.sql.StatementEXPERIMENTALOBL_UNSATISFIED_OBLIGATION218Medium
Nullcheck of query at line 396 of value previously dereferenced in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.getRecords(MetadataQuery)CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE345Medium
A prepared statement is generated from a nonconstant String in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore.getRecordById(List, QName[]) SECURITYSQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING559High

org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore$EbrimEOMDResultSet

BugCategoryDetailsLinePriority
Should org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStore$EbrimEOMDResultSet be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC657Medium

org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction

BugCategoryDetailsLinePriority
Found reliance on default encoding in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.getAsByteArray(OMElement): String.getBytes()I18NDM_DEFAULT_ENCODING360High
Found reliance on default encoding in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.getAsByteArray(OMElement): String.getBytes()I18NDM_DEFAULT_ENCODING362High
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.getNewId(Connection) may fail to clean up java.sql.StatementEXPERIMENTALOBL_UNSATISFIED_OBLIGATION277Medium
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.performDelete(DeleteOperation) may fail to clean up java.sql.StatementEXPERIMENTALOBL_UNSATISFIED_OBLIGATION208Medium
org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.concatenate(String[]) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION459Medium
A prepared statement is generated from a nonconstant String in org.deegree.metadata.persistence.ebrim.eo.EbrimEOMDStoreTransaction.performDelete(DeleteOperation) SECURITYSQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING208Medium

org.deegree.metadata.persistence.ebrim.eo.mapping.EOPropertyNameMapper

BugCategoryDetailsLinePriority
Switch statement found in org.deegree.metadata.persistence.ebrim.eo.mapping.EOPropertyNameMapper.addMapping(ValueReference, List, AliasedRIMType, String, SlotMapping$SlotType) where default case is missingSTYLESF_SWITCH_NO_DEFAULT526Medium