ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,879 of 2,81733%181 of 26732%16424645869750108
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1386632%251435%2225264401
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)920%80%55191911
getIncludeTableMap()711315%7112%45162001
truncateTable(String, String, PartitionNamesInfo, boolean, String)680%40%33161611
createOrReplaceBranch(TableIf, CreateOrReplaceBranchInfo)600%20%22151511
createOrReplaceTag(TableIf, CreateOrReplaceTagInfo)600%20%22151511
dropBranch(TableIf, DropBranchInfo)600%20%22151511
dropTag(TableIf, DropTagInfo)600%20%22151511
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
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
getDbForReplay(String)340%60%449911
unregisterDatabase(String)330%40%336611
buildConf()300%20%226611
getAllDbs()300%40%339911
getConfiguration()280%40%337711
listTableNames(SessionContext, String)231437%5116%344801
gsonPostProcess()222654%4450%3571601
enableAutoAnalyze()210%40%336611
listDatabaseNames()200%20%223311
setAutoAnalyzePolicy(String, String, String)190%20%225511
equals(Object)190%40%336611
getDbNullable(String)184671%4450%4561601
getDbNamesOrEmpty()170%20%226611
checkWhenCreating()141144%1150%124801
replayTruncateTable(TruncateTableInfo)130%20%223311
logRefreshExternalTable(ExternalTable, long)130%n/a115511
getTableNameByTableId(Long)120%n/a111111
buildMetaCache()112871%1375%131801
initLocalObjects()111252%1375%131601
getDbNullable(long)111150%n/a013601
getDbIds()110%n/a112211
addDatabaseForTest(ExternalDatabase)110%n/a113311
initPreExecutionAuthenticator()100%20%223311
getDbForReplay(long)100%20%223311
setInitializedForTest(boolean)90%20%224411
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
replayOperateOnBranchOrTag(String, String)90%20%223311
replayDropDb(String)80%20%223311
replayCreateDb(String)70%20%223311
bindBrokerName()70%n/a111111
resetMetaCacheNames()70%20%223311
getFilteredDatabaseNames()614996%31178%3823501
notifyPropertiesUpdated(Map)51372%1150%121501
getExecutionAuthenticator()5758%1150%121301
getMetadataOps()50%n/a112211
tableExistInLocal(String, String)50%n/a111111
rollBackCatalogProps(Map)50%n/a112211
registerDatabase(long, String)50%n/a111111
viewExists(String, String)50%n/a111111
lambda$getFilteredDatabaseNames$4(Map, Map, String)42485%21083%272601
isInitialized()30%n/a111111
getCatalogProperty()30%n/a111111
getTableAutoAnalyzePolicy()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
getSchema(ExternalSchemaCache.SchemaCacheKey)22893%2250%231701
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)44100%n/a0101601
ExternalCatalog()31100%n/a0101201
setDefaultPropsIfMissing(boolean)29100%4100%030601
static {...}27100%n/a010301
resetToUninitialized(boolean)26100%n/a010901
onClose()23100%6100%040801
lambda$buildMetaCache$1(String)21100%n/a010201
onRefreshCache(boolean)13100%2100%020501
getLowerCaseTableNames()12100%n/a010301
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
lambda$getFilteredDatabaseNames$6(List)8100%2100%020101
ifNotSetFallbackToSimpleAuth()7100%n/a010101
refreshMetaCacheOnly()7100%2100%020301
getLowerCaseDatabaseNames()7100%n/a010101
getType()6100%n/a010101
getDbNames()6100%n/a010201
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
tryModifyCatalogProps(Map)5100%n/a010201
getEnableMappingVarbinary()4100%n/a010101
getEnableMappingTimestampTz()4100%n/a010101
setComment(String)4100%n/a010201
getProperties()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
getId()3100%n/a010101
getName()3100%n/a010101
getComment()3100%n/a010101
getErrorMsg()3100%n/a010101
getLastUpdateTime()3100%n/a010101
getTransactionManager()3100%n/a010101
lambda$buildMetaCache$2(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101
lambda$getFilteredDatabaseNames$5(String)2100%n/a010101