BasicDataSource

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total423 of 1,81476%43 of 14069%692469449530176
static {...}12896%1150%12152001
invalidateConnection(Connection)251943%3350%3471501
getConnection()22621%3125%237901
registerJmxObjectName(String, ObjectName)161242%2250%233901
createDataSource()146983%1583%1442601
jmxRegister()142765%1375%1331201
log(String, Throwable)120%20%224411
close()112771%4100%0341501
preRegister(MBeanServer, ObjectName)110%n/a112211
getAbandonedLogWriter()90%20%221111
setTestOnCreate(boolean)90%n/a113311
setEvictionPolicyClassName(String)80%n/a113311
setLogWriter(PrintWriter)80%n/a113311
addConnectionProperty(String, String)70%n/a112211
getConnectionInitSqlsAsArray()60%n/a111111
getDisconnectionIgnoreSqlCodesAsArray()60%n/a111111
getDisconnectionSqlCodesAsArray()60%n/a111111
removeConnectionProperty(String)60%n/a112211
setConnectionPool(BiConsumer, Object)5444%1150%121301
getConnection(String, String)50%n/a111111
getLoginTimeout()50%n/a111111
setLoginTimeout(int)50%n/a111111
setDisconnectionIgnoreSqlCodes(Collection)42485%2250%230501
setDisconnectionSqlCodes(Collection)42485%2250%230501
getParentLogger()40%n/a111111
setAutoCommitOnReturn(boolean)40%n/a112211
setCacheState(boolean)40%n/a112211
setDefaultQueryTimeout(Duration)40%n/a112211
setDriver(Driver)40%n/a112211
setEnableAutoCommitOnReturn(boolean)40%n/a112211
setRollbackOnReturn(boolean)40%n/a112211
lambda$getConnection$0()40%n/a111111
createPoolableConnectionFactory(ConnectionFactory)311897%2100%0223001
createObjectPool(PoolableConnectionFactory, GenericObjectPoolConfig, AbandonedConfig)32187%3350%241501
getRemoveAbandonedTimeoutDuration()3770%1150%120101
getEnableAutoCommitOnReturn()30%n/a111111
getEvictionPolicyClassName()30%n/a111111
getLogExpiredConnections()30%n/a111111
getTestOnCreate()30%n/a111111
isClosed()30%n/a111111
getDefaultQueryTimeout()2981%1150%120101
setDefaultQueryTimeout(Integer)2981%1150%120201
getNumActive()2880%1150%120201
setConnectionFactoryClassName(String)2880%1150%120201
setDefaultCatalog(String)2880%1150%120201
setDefaultSchema(String)2880%1150%120201
getLogAbandoned()1090%2250%230101
getRemoveAbandonedOnBorrow()1090%2250%230101
getRemoveAbandonedOnMaintenance()1090%2250%230101
lambda$setDisconnectionSqlCodes$5(String)787%1150%120101
lambda$setDisconnectionIgnoreSqlCodes$4(String)787%1150%120101
lambda$setConnectionProperties$2(String)685%1150%120101
postDeregister()0%n/a111111
postRegister(Boolean)0%n/a111111
preDeregister()0%n/a111111
createConnectionPool(PoolableConnectionFactory)99100%1583%1402301
BasicDataSource()80100%n/a0102301
lambda$setConnectionProperties$3(Properties, String)29100%2100%020801
validateConnectionFactory(PoolableConnectionFactory)26100%2100%0201001
setAbandoned(BiConsumer, Object)23100%4100%030701
setConnectionInitSqls(Collection)23100%4100%030401
setConnectionProperties(String)23100%n/a010601
updateJmxName(GenericObjectPoolConfig)23100%2100%020701
unwrap(Class)22100%2100%020301
startPoolMaintenance()14100%1375%130301
createDataSourceInstance()12100%n/a010301
getAbandonedUsageTracking()11100%4100%030101
getNumIdle()10100%2100%020201
isEmpty(String)10100%4100%030101
isWrapperFor(Class)10100%4100%030101
setDriverClassName(String)10100%2100%020201
setValidationQuery(String)10100%2100%020201
closeConnectionPool()9100%n/a010401
getConnectionInitSqls()9100%2100%020201
getDisconnectionIgnoreSqlCodes()9100%2100%020201
getDisconnectionSqlCodes()9100%2100%020201
setLifo(boolean)9100%n/a010301
setMaxIdle(int)9100%n/a010301
setMaxTotal(int)9100%n/a010301
setMinIdle(int)9100%n/a010301
setNumTestsPerEvictionRun(int)9100%n/a010301
setTestOnBorrow(boolean)9100%n/a010301
setTestOnReturn(boolean)9100%n/a010301
setTestWhileIdle(boolean)9100%n/a010301
log(String)8100%1150%120301
setDurationBetweenEvictionRuns(Duration)8100%n/a010301
setMaxWait(Duration)8100%n/a010301
setMinEvictableIdle(Duration)8100%n/a010301
setSoftMinEvictableIdle(Duration)8100%n/a010301
lambda$setConnectionInitSqls$1(String)8100%2100%020101
evict()7100%1150%120301
setRemoveAbandonedTimeout(int)7100%n/a010201
start()7100%n/a010301
setAbandonedUsageTracking(boolean)6100%n/a010201
setLogAbandoned(boolean)6100%n/a010201
setRemoveAbandonedOnBorrow(boolean)6100%n/a010201
setRemoveAbandonedOnMaintenance(boolean)6100%n/a010201
setValidationQueryTimeout(int)6100%n/a010201
createConnectionFactory()5100%n/a010101
getRemoveAbandonedTimeout()5100%n/a010101
getValidationQueryTimeout()5100%n/a010101
restart()5100%n/a010301
setAbandonedLogWriter(PrintWriter)5100%n/a010201
setMaxConnLifetimeMillis(long)5100%n/a010201
setMaxWaitMillis(long)5100%n/a010201
setMinEvictableIdleTimeMillis(long)5100%n/a010201
setRemoveAbandonedTimeout(Duration)5100%n/a010201
setSoftMinEvictableIdleTimeMillis(long)5100%n/a010201
setTimeBetweenEvictionRunsMillis(long)5100%n/a010201
getLogWriter()4100%n/a010101
getMaxConnLifetimeMillis()4100%n/a010101
getMaxWaitMillis()4100%n/a010101
getMinEvictableIdleTimeMillis()4100%n/a010101
getRegisteredJmxName()4100%n/a010101
getSoftMinEvictableIdleTimeMillis()4100%n/a010101
getTimeBetweenEvictionRunsMillis()4100%n/a010101
setAccessToUnderlyingConnectionAllowed(boolean)4100%n/a010201
setClearStatementPoolOnReturn(boolean)4100%n/a010201
setConnectionInitSqls(List)4100%n/a010201
setDefaultAutoCommit(Boolean)4100%n/a010201
setDefaultReadOnly(Boolean)4100%n/a010201
setDefaultTransactionIsolation(int)4100%n/a010201
setDriverClassLoader(ClassLoader)4100%n/a010201
setFastFailValidation(boolean)4100%n/a010201
setInitialSize(int)4100%n/a010201
setJmxName(String)4100%n/a010201
setLogExpiredConnections(boolean)4100%n/a010201
setMaxConn(Duration)4100%n/a010201
setMaxOpenPreparedStatements(int)4100%n/a010201
setPassword(String)4100%n/a010201
setPoolPreparedStatements(boolean)4100%n/a010201
setRegisterConnectionMBean(boolean)4100%n/a010201
setUrl(String)4100%n/a010201
setUsername(String)4100%n/a010201
setValidationQueryTimeout(Duration)4100%n/a010201
getAutoCommitOnReturn()3100%n/a010101
getCacheState()3100%n/a010101
getConnectionFactoryClassName()3100%n/a010101
getConnectionPool()3100%n/a010101
getConnectionProperties()3100%n/a010101
getDefaultAutoCommit()3100%n/a010101
getDefaultCatalog()3100%n/a010101
getDefaultQueryTimeoutDuration()3100%n/a010101
getDefaultReadOnly()3100%n/a010101
getDefaultSchema()3100%n/a010101
getDefaultTransactionIsolation()3100%n/a010101
getDriver()3100%n/a010101
getDriverClassLoader()3100%n/a010101
getDriverClassName()3100%n/a010101
getDurationBetweenEvictionRuns()3100%n/a010101
getFastFailValidation()3100%n/a010101
getInitialSize()3100%n/a010101
getJmxName()3100%n/a010101
getLifo()3100%n/a010101
getMaxConnDuration()3100%n/a010101
getMaxIdle()3100%n/a010101
getMaxOpenPreparedStatements()3100%n/a010101
getMaxTotal()3100%n/a010101
getMaxWaitDuration()3100%n/a010101
getMinEvictableIdleDuration()3100%n/a010101
getMinIdle()3100%n/a010101
getNumTestsPerEvictionRun()3100%n/a010101
getPassword()3100%n/a010101
getRollbackOnReturn()3100%n/a010101
getSoftMinEvictableIdleDuration()3100%n/a010101
getTestOnBorrow()3100%n/a010101
getTestOnReturn()3100%n/a010101
getTestWhileIdle()3100%n/a010101
getUrl()3100%n/a010101
getUsername()3100%n/a010101
getValidationQuery()3100%n/a010101
getValidationQueryTimeoutDuration()3100%n/a010101
isAccessToUnderlyingConnectionAllowed()3100%n/a010101
isClearStatementPoolOnReturn()3100%n/a010101
isPoolPreparedStatements()3100%n/a010101
toLinkedHashSet()3100%n/a010101