ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,291 of 2,66751%122 of 25051%13825524758259126
replayInitCatalog(InitCatalogLog)2270%240%1313454511
toString()1290%n/a111111
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)9810651%182255%1525214301
truncateTable(TruncateTableStmt)750%40%33171711
truncateTable(TruncateTableCommand)740%40%33171711
getFilteredDatabaseNames()616551%5337%35122801
getAllDbs()430%60%44111111
createDb(CreateDatabaseCommand)390%20%22121211
getDbNullable(long)350%20%228811
makeSureInitialized()344758%4660%3682001
checkProperties()272750%4450%3541301
gsonPostProcess()255970%5550%4682301
getDbForReplay(long)240%40%335511
getDbIds()220%20%224411
dropTable(DropTableStmt)220%20%225511
equals(Object)190%40%336611
getDbNamesOrEmpty()170%20%226611
createDb(CreateDbStmt)152461%1150%1251201
dropDb(String, boolean, boolean)142665%1150%1251201
listDatabaseNames()14733%1150%122401
getTableNameByTableId(Long)120%n/a111111
initAccessController(boolean)114379%1583%1431301
dropTable(String, String, boolean, boolean, boolean, boolean)112569%1150%1251201
replayTruncateTable(TruncateTableInfo)110%20%223311
initPreExecutionAuthenticator()90%20%223311
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
replayCreateDb(String)80%20%223311
replayDropDb(String)80%20%223311
lambda$getFilteredDatabaseNames$6(List)80%20%221111
setAutoAnalyzePolicy(String, String, String)61368%1150%121501
createTable(CreateTableStmt)53587%1375%1321201
getProperties()52583%1375%131701
getConfiguration()52382%1375%131701
notifyPropertiesUpdated(Map)51372%1150%121501
getPreExecutionAuthenticator()5758%1150%121301
getMetadataOps()50%n/a112211
tableExistInLocal(String, String)50%n/a111111
unregisterDatabase(String)50%n/a111111
registerDatabase(long, String)50%n/a111111
setId(long)40%n/a111111
setName(String)40%n/a111111
setType(String)40%n/a111111
setLogType(InitCatalogLog.Type)40%n/a111111
setCatalogProperty(CatalogProperty)40%n/a111111
setIdToDb(Map)40%n/a111111
setTableAutoAnalyzePolicy(Map)40%n/a111111
setDbNameToId(Map)40%n/a111111
setObjectCreated(boolean)40%n/a111111
setInvalidCacheInInit(boolean)40%n/a111111
setMetadataOps(ExternalMetadataOps)40%n/a111111
setTransactionManager(TransactionManager)40%n/a111111
setSchemaCache(ExternalSchemaCache)40%n/a111111
setPropLock(byte[])40%n/a111111
setConvertedProperties(Map)40%n/a111111
setUseMetaCache(Optional)40%n/a111111
setMetaCache(MetaCache)40%n/a111111
setPreExecutionAuthenticator(PreExecutionAuthenticator)40%n/a111111
setThreadPoolWithPreAuth(ThreadPoolExecutor)40%n/a111111
setCachedConf(Configuration)40%n/a111111
setConfLock(byte[])40%n/a111111
init()312897%2675%2513101
getLogType()30%n/a111111
getIdToDb()30%n/a111111
getDbNameToId()30%n/a111111
isObjectCreated()30%n/a111111
isInvalidCacheInInit()30%n/a111111
getTransactionManager()30%n/a111111
getSchemaCache()30%n/a111111
getPropLock()30%n/a111111
getConvertedProperties()30%n/a111111
getMetaCache()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
getCachedConf()30%n/a111111
getConfLock()30%n/a111111
getSchema(ExternalSchemaCache.SchemaCacheKey)22692%2250%231701
lambda$getFilteredDatabaseNames$5(String)20%n/a111111
getDbNullable(String)76100%10100%0601701
refreshOnlyCatalogCache(boolean)53100%12100%0701201
ExternalCatalog(long, String, InitCatalogLog.Type, String)51100%n/a0101901
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog()38100%n/a0101501
resetToUninitialized(boolean)34100%n/a0101101
buildConf()30100%2100%020601
setDefaultPropsIfMissing(boolean)28100%4100%030501
lambda$getFilteredDatabaseNames$4(Map, Map, String)28100%12100%070601
onClose()23100%6100%040801
enableAutoAnalyze()21100%4100%030601
lambda$makeSureInitialized$1(String)21100%n/a010201
getDbNames()19100%2100%020401
addDatabaseForTest(ExternalDatabase)19100%n/a010301
static {...}19100%n/a010301
initLocalObjects()9100%2100%020401
read(DataInput)9100%n/a010201
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
ifNotSetFallbackToSimpleAuth()7100%n/a010101
write(DataOutput)7100%n/a010201
getOnlyTestLowerCaseTableNames()7100%n/a010101
bindBrokerName()7100%n/a010101
getType()6100%n/a010101
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
tryModifyCatalogProps(Map)5100%n/a010201
rollBackCatalogProps(Map)5100%n/a010201
lambda$makeSureInitialized$3(String, Optional, RemovalCause)5100%n/a010101
lambda$makeSureInitialized$2(ExternalDatabase)5100%n/a010101
onRefreshCache(boolean)4100%n/a010201
setComment(String)4100%n/a010201
getResource()4100%n/a010101
modifyCatalogName(String)4100%n/a010201
setLastUpdateTime(long)4100%n/a010201
getIncludeDatabaseMap()4100%n/a010101
getExcludeDatabaseMap()4100%n/a010101
setInitialized(boolean)4100%n/a010101
isInitialized()3100%n/a010101
getId()3100%n/a010101
getName()3100%n/a010101
getComment()3100%n/a010101
getLastUpdateTime()3100%n/a010101
getCatalogProperty()3100%n/a010101
getTableAutoAnalyzePolicy()3100%n/a010101
getUseMetaCache()3100%n/a010101
lambda$makeSureInitialized$0(String)3100%n/a010101
checkWhenCreating()100%n/a010101