ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,453 of 3,19754%150 of 30851%13326532375533107
replayInitCatalog(InitCatalogLog)2270%240%1313454511
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)9810651%182255%1525214301
truncateTable(String, String, PartitionNames, boolean, String)640%40%33151511
getFilteredDatabaseNames()616551%5337%35122801
dropTable(String, String, boolean, boolean, boolean, boolean)563639%5337%4581901
addColumn(TableIf, Column, ColumnPosition)520%20%22131311
renameColumn(TableIf, String, String)520%20%22131311
modifyColumn(TableIf, Column, ColumnPosition)520%20%22131311
dropColumn(TableIf, String)500%20%22131311
makeSureInitialized()494648%6857%48112501
addColumns(TableIf, List)490%20%22131311
reorderColumns(TableIf, List)490%20%22131311
renameTable(String, String, String)440%20%22121211
getAllDbs()430%60%44111111
getDbForReplay(long)300%40%336611
checkProperties()272750%4450%3541301
gsonPostProcess()255970%5550%4682301
createDb(String, boolean, Map)232854%1375%1341201
dropDb(String, boolean, boolean)232451%1150%1241101
getDbIds()220%20%224411
unregisterDatabase(String)204066%4450%3541101
getDbForReplay(String)193564%4450%3541101
equals(Object)190%40%336611
getDbNullable(long)181748%1150%124801
getDbNamesOrEmpty()170%20%226611
createOrReplaceBranch(TableIf, CreateOrReplaceBranchInfo)134778%1150%1211501
createOrReplaceTag(TableIf, CreateOrReplaceTagInfo)134778%1150%1211501
dropBranch(TableIf, DropBranchInfo)134778%1150%1211501
dropTag(TableIf, DropTagInfo)134778%1150%1211501
createTable(CreateTableStmt)134477%1375%1311201
listDatabaseNames()13735%1150%121301
getTableNameByTableId(Long)120%n/a111111
logRefreshExternalTable(ExternalTable)120%n/a115511
initAccessController(boolean)114379%1583%1431301
replayTruncateTable(TruncateTableInfo)110%20%223311
getDbNullable(String)106686%10100%0631701
initPreExecutionAuthenticator()90%20%223311
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
replayOperateOnBranchOrTag(String, String)90%20%223311
replayDropDb(String)80%20%223311
lambda$getFilteredDatabaseNames$6(List)80%20%221111
replayCreateDb(String)70%20%223311
bindBrokerName()70%n/a111111
setAutoAnalyzePolicy(String, String, String)61368%1150%121501
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
registerDatabase(long, String)50%n/a111111
viewExists(String, String)50%n/a111111
onRefreshCache()40%n/a112211
init()312897%2675%2513101
resetMetaCacheNames()31885%3350%341401
getTransactionManager()30%n/a111111
getThreadPoolExecutor()30%n/a111111
lambda$getFilteredDatabaseNames$5(String)20%n/a111111
ExternalCatalog(long, String, InitCatalogLog.Type, String)51100%n/a0101901
getSpecifiedDatabaseMap(String)50100%1583%1401101
refreshOnlyCatalogCache(boolean)49100%12100%0701101
ExternalCatalog()38100%n/a0101501
buildMetaCache()37100%4100%030701
resetToUninitialized(boolean)34100%n/a0101101
buildConf()30100%2100%020601
getSchema(ExternalSchemaCache.SchemaCacheKey)30100%1375%130701
addDatabaseForTest(ExternalDatabase)29100%n/a010501
setDefaultPropsIfMissing(boolean)28100%4100%030501
lambda$getFilteredDatabaseNames$4(Map, Map, String)28100%12100%070601
onClose()25100%6100%040901
initLocalObjects()23100%4100%030601
enableAutoAnalyze()21100%4100%030601
lambda$buildMetaCache$1(String)21100%n/a010201
getDbNames()19100%2100%020401
static {...}19100%n/a010301
setInitializedForTest(boolean)14100%1150%120501
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
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
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
lambda$buildMetaCache$3(String, Optional, RemovalCause)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
getUseMetaCache()3100%n/a010101
getTableAutoAnalyzePolicy()3100%n/a010101
lambda$buildMetaCache$2(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101
checkWhenCreating()100%n/a010101