BasicDataSource

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,645 of 1,6450%128 of 1280%234234480480170170
createPoolableConnectionFactory(ConnectionFactory)1090%20%22292911
createConnectionPool(PoolableConnectionFactory)890%20%22212111
createDataSource()830%60%44262611
BasicDataSource()800%n/a11232311
static {...}770%20%22202011
invalidateConnection(Connection)440%60%44151511
close()380%40%33151511
jmxRegister()330%40%33121211
lambda$setConnectionProperties$3(Properties, String)290%20%228811
getConnection()280%40%339911
validateConnectionFactory(PoolableConnectionFactory)260%20%22101011
createObjectPool(PoolableConnectionFactory, GenericObjectPoolConfig, AbandonedConfig)240%60%445511
setAbandoned(BiConsumer, Object)230%40%337711
setConnectionInitSqls(Collection)230%40%334411
setConnectionProperties(String)230%n/a116611
setDisconnectionSqlCodes(Collection)230%40%334411
updateJmxName(GenericObjectPoolConfig)230%20%227711
registerJmxObjectName(String, ObjectName)200%40%339911
unwrap(Class)150%20%223311
startPoolMaintenance()140%40%333311
createDataSourceInstance()120%n/a113311
log(String, Throwable)120%20%224411
getAbandonedUsageTracking()110%40%331111
getDefaultQueryTimeout()110%20%221111
getLogAbandoned()110%40%331111
getRemoveAbandonedOnBorrow()110%40%331111
getRemoveAbandonedOnMaintenance()110%40%331111
preRegister(MBeanServer, ObjectName)110%n/a112211
getNumActive()100%20%222211
getNumIdle()100%20%222211
getRemoveAbandonedTimeoutDuration()100%20%221111
isEmpty(String)100%40%331111
isWrapperFor(Class)100%40%331111
setConnectionFactoryClassName(String)100%20%222211
setDefaultCatalog(String)100%20%222211
setDefaultQueryTimeout(Integer)100%20%222211
setDefaultSchema(String)100%20%222211
setDriverClassName(String)100%20%222211
setValidationQuery(String)100%20%222211
closeConnectionPool()90%n/a114411
getAbandonedLogWriter()90%20%221111
getConnectionInitSqls()90%20%222211
getDisconnectionSqlCodes()90%20%222211
setConnectionPool(BiConsumer, Object)90%20%223311
setLifo(boolean)90%n/a113311
setMaxIdle(int)90%n/a113311
setMaxTotal(int)90%n/a113311
setMinIdle(int)90%n/a113311
setNumTestsPerEvictionRun(int)90%n/a113311
setTestOnBorrow(boolean)90%n/a113311
setTestOnCreate(boolean)90%n/a113311
setTestOnReturn(boolean)90%n/a113311
setTestWhileIdle(boolean)90%n/a113311
log(String)80%20%223311
setEvictionPolicyClassName(String)80%n/a113311
setLogWriter(PrintWriter)80%n/a113311
setMaxWait(Duration)80%n/a113311
setMinEvictableIdle(Duration)80%n/a113311
setSoftMinEvictableIdle(Duration)80%n/a113311
setDurationBetweenEvictionRuns(Duration)80%n/a113311
lambda$setDisconnectionSqlCodes$4(String)80%20%221111
lambda$setConnectionInitSqls$1(String)80%20%221111
addConnectionProperty(String, String)70%n/a112211
evict()70%20%223311
setRemoveAbandonedTimeout(int)70%n/a112211
start()70%n/a113311
lambda$setConnectionProperties$2(String)70%20%221111
getConnectionInitSqlsAsArray()60%n/a111111
getDisconnectionSqlCodesAsArray()60%n/a111111
removeConnectionProperty(String)60%n/a112211
setAbandonedUsageTracking(boolean)60%n/a112211
setLogAbandoned(boolean)60%n/a112211
setRemoveAbandonedOnBorrow(boolean)60%n/a112211
setRemoveAbandonedOnMaintenance(boolean)60%n/a112211
setValidationQueryTimeout(int)60%n/a112211
createConnectionFactory()50%n/a111111
getConnection(String, String)50%n/a111111
getLoginTimeout()50%n/a111111
getRemoveAbandonedTimeout()50%n/a111111
getValidationQueryTimeout()50%n/a111111
restart()50%n/a113311
setAbandonedLogWriter(PrintWriter)50%n/a112211
setLoginTimeout(int)50%n/a111111
setMaxConnLifetimeMillis(long)50%n/a112211
setMaxWaitMillis(long)50%n/a112211
setMinEvictableIdleTimeMillis(long)50%n/a112211
setRemoveAbandonedTimeout(Duration)50%n/a112211
setSoftMinEvictableIdleTimeMillis(long)50%n/a112211
setTimeBetweenEvictionRunsMillis(long)50%n/a112211
getLogWriter()40%n/a111111
getMaxConnLifetimeMillis()40%n/a111111
getMaxWaitMillis()40%n/a111111
getMinEvictableIdleTimeMillis()40%n/a111111
getParentLogger()40%n/a111111
getRegisteredJmxName()40%n/a111111
getSoftMinEvictableIdleTimeMillis()40%n/a111111
getTimeBetweenEvictionRunsMillis()40%n/a111111
setAccessToUnderlyingConnectionAllowed(boolean)40%n/a112211
setAutoCommitOnReturn(boolean)40%n/a112211
setCacheState(boolean)40%n/a112211
setClearStatementPoolOnReturn(boolean)40%n/a112211
setDefaultAutoCommit(Boolean)40%n/a112211
setDefaultQueryTimeout(Duration)40%n/a112211
setDefaultReadOnly(Boolean)40%n/a112211
setDefaultTransactionIsolation(int)40%n/a112211
setDriver(Driver)40%n/a112211
setDriverClassLoader(ClassLoader)40%n/a112211
setEnableAutoCommitOnReturn(boolean)40%n/a112211
setFastFailValidation(boolean)40%n/a112211
setInitialSize(int)40%n/a112211
setJmxName(String)40%n/a112211
setRegisterConnectionMBean(boolean)40%n/a112211
setLogExpiredConnections(boolean)40%n/a112211
setMaxConn(Duration)40%n/a112211
setMaxOpenPreparedStatements(int)40%n/a112211
setPassword(String)40%n/a112211
setPoolPreparedStatements(boolean)40%n/a112211
setRollbackOnReturn(boolean)40%n/a112211
setUrl(String)40%n/a112211
setUsername(String)40%n/a112211
setValidationQueryTimeout(Duration)40%n/a112211
lambda$getConnection$0()40%n/a111111
getAutoCommitOnReturn()30%n/a111111
getCacheState()30%n/a111111
getConnectionFactoryClassName()30%n/a111111
getConnectionPool()30%n/a111111
getConnectionProperties()30%n/a111111
getDefaultAutoCommit()30%n/a111111
getDefaultCatalog()30%n/a111111
getDefaultQueryTimeoutDuration()30%n/a111111
getDefaultReadOnly()30%n/a111111
getDefaultSchema()30%n/a111111
getDefaultTransactionIsolation()30%n/a111111
getDriver()30%n/a111111
getDriverClassLoader()30%n/a111111
getDriverClassName()30%n/a111111
getEnableAutoCommitOnReturn()30%n/a111111
getEvictionPolicyClassName()30%n/a111111
getFastFailValidation()30%n/a111111
getInitialSize()30%n/a111111
getJmxName()30%n/a111111
getLifo()30%n/a111111
getLogExpiredConnections()30%n/a111111
getMaxConnDuration()30%n/a111111
getMaxIdle()30%n/a111111
getMaxOpenPreparedStatements()30%n/a111111
getMaxTotal()30%n/a111111
getMaxWaitDuration()30%n/a111111
getMinEvictableIdleDuration()30%n/a111111
getMinIdle()30%n/a111111
getNumTestsPerEvictionRun()30%n/a111111
getPassword()30%n/a111111
getRollbackOnReturn()30%n/a111111
getSoftMinEvictableIdleDuration()30%n/a111111
getTestOnBorrow()30%n/a111111
getTestOnCreate()30%n/a111111
getTestOnReturn()30%n/a111111
getTestWhileIdle()30%n/a111111
getDurationBetweenEvictionRuns()30%n/a111111
getUrl()30%n/a111111
getUsername()30%n/a111111
getValidationQuery()30%n/a111111
getValidationQueryTimeoutDuration()30%n/a111111
isAccessToUnderlyingConnectionAllowed()30%n/a111111
isClearStatementPoolOnReturn()30%n/a111111
isClosed()30%n/a111111
isPoolPreparedStatements()30%n/a111111
postDeregister()10%n/a111111
postRegister(Boolean)10%n/a111111
preDeregister()10%n/a111111