DBDatabaseCluster

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,219 of 2,10842%115 of 17634%13021128151861123
doTransaction(DBTransaction, Boolean)770%100%66212111
reconnectQuarantinedDatabase(StringBuilder, DBDatabase)680%n/a11121211
createIndexesOnAllFields(DBRow)480%60%44131311
removeForeignKeyConstraints(DBRow)480%60%44131311
createForeignKeyConstraints(DBRow)480%60%44131311
getDatabaseStatuses()450%20%228811
reconnectQuarantinedDatabases()400%40%337711
updateTableToMatchDBRow(DBRow)391527%6225%4591501
getDBStatements()380%20%227711
supportsMicrosecondPrecision()340%80%556611
supportsNanosecondPrecision()340%80%556611
batchSQLStatementsWhenPossible()320%20%226611
stopClusterInternal(boolean)311126%3125%2361201
DBDatabaseCluster(String, DBDatabaseCluster.Configuration, DatabaseConnectionSettings[])310%20%225511
DBDatabaseCluster(String, DatabaseConnectionSettings[])300%20%225511
executeDBActionOnClusterMembers(DBAction)2911579%71365%51163101
setPrintSQLBeforeExecuting(boolean)290%20%225511
setConnectionSettings(DatabaseConnectionSettings[])270%20%224411
preventDroppingOfDatabases(boolean)270%20%225511
setBatchSQLStatementsWhenPossible(boolean)270%20%225511
initDatabaseMembers(DBDatabase[])233962%3562%3561801
removeDatabases(DBDatabase[])220%20%223311
DBDatabaseCluster(DBDatabaseClusterSettingsBuilder)204870%2675%2562201
getSQLForDBQuery(DBQueryable)170%n/a114411
randomCluster(DBDatabaseCluster.Configuration, DBDatabase)140%n/a112211
randomAutomaticCluster(DBDatabase)140%n/a112211
test(DBScript)130%n/a113311
doReadOnlyTransaction(DBTransaction)130%n/a113311
isMemoryDatabase()120%40%331111
executeDBQuery(DBQueryable)114480%4660%4631401
setHasQuarantined(boolean)110%20%224411
DBDatabaseCluster(DatabaseConnectionSettings)90%n/a112211
backupToDBDatabase(DBDatabase)90%n/a113311
quarantineDatabase(DBDatabase, Throwable)90%n/a113311
setRequiredToProduceEmptyStringsForNull(boolean)90%20%222211
connectSavedDatabases()82172%2100%022801
dismantle()8746%n/a012601
setDatabaseName(String)80%n/a113311
removeDatabases(List)80%n/a111111
createTablesNoExceptions(boolean, DBRow[])80%n/a113311
createTableNoExceptions(boolean, DBRow)80%n/a113311
handleExceptionDuringAction(Exception, DBDatabase, DBAction)71872%3350%242701
failOnQuarantine()7436%3125%231301
isStarted()70%20%221111
DBDatabaseCluster(String, DBDatabase[])70%n/a113311
dropTableIfExists(DBRow)70%n/a113311
createTableWithForeignKeys(DBRow)70%n/a113311
createTablesWithForeignKeysNoExceptions(DBRow[])70%n/a113311
createTablesNoExceptions(DBRow[])70%n/a113311
synchronizeAddedDatabases(boolean)65389%8100%0521101
executeDBAction(DBAction)61976%1150%121701
deadDatabase(DBDatabase, Throwable)60%n/a112211
handleErrorDuringExecutingSQL(DBDatabase, Throwable, String)60%n/a112211
addTrackedTables(DBRow[])60%n/a112211
removeTrackedTables(DBRow[])60%n/a112211
getDefaultPort()50%n/a111111
DBDatabaseCluster()50%n/a112211
DBDatabaseCluster(String)50%n/a112211
addFeatureToFixException(Exception, QueryIntention, StatementDetails)50%n/a111111
addDatabaseSpecificFeatures(Statement)50%n/a111111
getConnectionFromDriverManager()50%n/a111111
willCreateBlankQuery(DBRow)50%n/a111111
getConnection()50%n/a111111
getDBStatement()50%n/a111111
getLowLevelStatement()50%n/a111111
setTrackedTables(Collection)50%n/a112211
addTrackedTables(Collection)50%n/a112211
removeTrackedTables(Collection)50%n/a112211
handleExceptionDuringQuery(Exception, DBDatabase)41680%2250%232601
getURLInterpreter()40%n/a111111
start()40%n/a112211
getAutoRebuild()40%n/a111111
stopClusterAndDatabases()40%n/a112211
getTrackedTables()40%n/a111111
removeDatabase(DBDatabase)21386%1150%121401
tableExists(DBRow)37100%2100%020701
addActionToQueue(DBAction)28100%2100%020401
preventDroppingOfTables(boolean)27100%2100%020501
getDetails()19100%2100%020401
removeActionFromQueue(DBDatabase, DBAction)19100%1150%120601
addCleaner()18100%n/a010301
initDatabase(DBDatabase[])17100%n/a010501
getStatusOfActiveDatabases()16100%n/a010201
randomManualCluster(DBDatabase)14100%n/a010201
getClusterStatus()14100%n/a010401
getStatusOfQuarantinedDatabases()14100%n/a010101
getStatusOfUnsynchronisedDatabases()14100%n/a010101
addReconnectionProcessor()12100%n/a010401
addDatabaseWithoutWaiting(DBDatabase)12100%n/a010301
getDefinition()12100%n/a010301
DBDatabaseCluster(String, DBDatabaseCluster.Configuration)11100%n/a010201
startupCluster()11100%1150%120501
shutdownClusterProcesses()10100%n/a010401
static {...}10100%n/a010301
addDatabaseWithWaiting(DBDatabase, boolean)9100%n/a010301
DBDatabaseCluster(String, DBDatabaseCluster.Configuration, DBDatabase[])8100%n/a010301
setQuietExceptionsPreference(boolean)8100%n/a010301
createTable(DBRow, boolean)8100%n/a010201
dropTableNoExceptions(DBRow)7100%n/a010301
dropTable(DBRow)7100%n/a010201
createTable(DBRow)7100%n/a010301
createTableNoExceptions(DBRow)7100%n/a010301
waitUntilDatabaseIsSynchronised(DBDatabase, long)6100%n/a010201
getReadyDatabase()6100%n/a010201
waitUntilDatabaseIsSynchronised(DBDatabase)5100%n/a010201
addDatabase(DBDatabase)5100%n/a010101
addDatabaseAndWait(DBDatabase)5100%n/a010101
getDatabaseStatus(DBDatabase)5100%n/a010101
size()5100%n/a010101
addTrackedTable(DBRow)5100%n/a010201
removeTrackedTable(DBRow)5100%n/a010201
waitUntilSynchronised()4100%n/a010201
setRequeryPermitted(boolean)4100%n/a010201
setFailOnQuarantine(boolean)4100%n/a010201
getDatabases()4100%n/a010101
supportsDifferenceBetweenNullAndEmptyString()4100%n/a010101
getAutoReconnect()4100%n/a010101
stopCluster()4100%n/a010201
requeryPermitted()3100%n/a010101
getRandomClusterName()3100%n/a010101
clone()3100%n/a010101
stop()3100%n/a010201
close()3100%n/a010201