ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,725 of 2,82738%184 of 26731%17324640870049108
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1287637%261333%2225254401
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)920%80%55191911
getIncludeTableMap()711315%7112%45162001
truncateTable(String, String, PartitionNamesInfo, boolean, String)680%40%33161611
getFilteredDatabaseNames()678856%8642%68143501
createTable(CreateTableInfo)570%40%33161611
makeSureInitialized()562631%4450%3581801
addColumn(TableIf, Column, ColumnPosition)560%20%22141411
renameColumn(TableIf, String, String)560%20%22141411
modifyColumn(TableIf, Column, ColumnPosition)560%20%22141411
dropColumn(TableIf, String)540%20%22141411
addColumns(TableIf, List)530%20%22141411
reorderColumns(TableIf, List)530%20%22141411
createDb(String, boolean, Map)510%40%33121211
gsonPostProcess()480%80%55161611
dropDb(String, boolean, boolean)470%20%22111111
getLocalDatabaseName(String, boolean)461322%10216%67111601
renameTable(String, String, String)440%20%22121211
initAccessController(boolean)401425%5116%3491301
checkProperties()361833%6225%4581301
getSchema(SchemaCacheKey)300%40%337711
getAllDbs()300%40%339911
listTableNames(SessionContext, String)231437%5116%344801
getDbNullable(long)220%n/a116611
equals(Object)190%40%336611
getDbNullable(String)184671%4450%4561601
getDbNamesOrEmpty()170%20%226611
getDbForReplay(String)161852%3350%344901
checkWhenCreating()141144%1150%124801
createOrReplaceBranch(TableIf, CreateOrReplaceBranchInfo)134778%1150%1211501
createOrReplaceTag(TableIf, CreateOrReplaceTagInfo)134778%1150%1211501
dropBranch(TableIf, DropBranchInfo)134778%1150%1211501
dropTag(TableIf, DropTagInfo)134778%1150%1211501
listDatabaseNames()13735%1150%121301
replayTruncateTable(TruncateTableInfo)130%20%223311
logRefreshExternalTable(ExternalTable, long)130%n/a115511
lambda$getFilteredDatabaseNames$4(Map, Map, String)121657%6650%472601
getTableNameByTableId(Long)120%n/a111111
buildMetaCache()112972%1375%131801
initLocalObjects()111252%1375%131601
getDbIds()110%n/a112211
initPreExecutionAuthenticator()100%20%223311
getDbForReplay(long)100%20%223311
onClose()91460%3350%343801
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
hashCode()90%n/a111111
replayOperateOnBranchOrTag(String, String)90%20%223311
getConfiguration()82071%2250%232701
modifyCatalogProps(Map)80%n/a113311
replayDropDb(String)80%20%223311
lambda$getFilteredDatabaseNames$6(List)80%20%221111
notifyPropertiesUpdated(Map)71365%1150%122601
replayCreateDb(String)70%20%223311
bindBrokerName()70%n/a111111
setAutoAnalyzePolicy(String, String, String)61368%1150%121501
getType()60%n/a111111
onRefreshCache(boolean)5861%1150%121501
getExecutionAuthenticator()5758%1150%121301
getMetadataOps()50%n/a112211
tableExistInLocal(String, String)50%n/a111111
tryModifyCatalogProps(Map)50%n/a112211
rollBackCatalogProps(Map)50%n/a112211
registerDatabase(long, String)50%n/a111111
viewExists(String, String)50%n/a111111
unregisterDatabase(String)42987%2250%231601
getEnableMappingVarbinary()40%n/a111111
getEnableMappingTimestampTz()40%n/a111111
setComment(String)40%n/a112211
modifyCatalogName(String)40%n/a112211
refreshMetaCacheOnly()3457%1150%121301
getErrorMsg()30%n/a111111
getLastUpdateTime()30%n/a111111
getTransactionManager()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
enableAutoAnalyze()21990%1375%131601
lambda$getFilteredDatabaseNames$5(String)20%n/a111111
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)44100%n/a0101601
resetToUninitialized(boolean)33100%n/a0101101
ExternalCatalog()31100%n/a0101201
buildConf()30100%2100%020601
setDefaultPropsIfMissing(boolean)29100%4100%030601
static {...}27100%n/a010301
lambda$buildMetaCache$1(String)21100%n/a010201
getLowerCaseTableNames()12100%n/a010301
addDatabaseForTest(ExternalDatabase)11100%n/a010301
setInitializedForTest(boolean)9100%1150%120401
ifNotSetFallbackToSimpleAuth()7100%n/a010101
getLowerCaseDatabaseNames()7100%n/a010101
resetMetaCacheNames()7100%1150%120301
getDbNames()6100%n/a010201
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
getProperties()4100%n/a010101
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
getCatalogProperty()3100%n/a010101
getTableAutoAnalyzePolicy()3100%n/a010101
lambda$buildMetaCache$2(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101