ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,758 of 2,90539%172 of 27336%15925141571538110
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1059948%221743%1925214401
dropTable(String, String, boolean, boolean, boolean, boolean, boolean, boolean)722021%4450%45111901
getIncludeTableMap()711315%7112%45162001
truncateTable(String, String, PartitionNamesInfo, boolean, String)680%40%33161611
renameTable(String, String, String)610%20%22151511
createOrReplaceBranch(TableIf, CreateOrReplaceBranchInfo)600%20%22151511
createOrReplaceTag(TableIf, CreateOrReplaceTagInfo)600%20%22151511
dropBranch(TableIf, DropBranchInfo)600%20%22151511
dropTag(TableIf, DropTagInfo)600%20%22151511
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
getLocalDatabaseName(String, boolean)461322%10216%67111601
initAccessController(boolean)401425%5116%3491301
buildConf()370%40%338811
checkProperties()361833%6225%4581301
getAllDbs()300%40%339911
getConfiguration()280%40%337711
buildHadoopConfiguration(Map)260%20%225511
getFilteredDatabaseNames()2513083%41071%4843501
createDb(String, boolean, Map)232854%2250%2341201
dropDb(String, boolean, boolean)232451%1150%1241101
listTableNames(SessionContext, String)231437%5116%344801
notifyPropertiesUpdated(Map)230%20%227711
gsonPostProcess()222654%4450%3571601
createTable(CreateTableInfo)203764%2250%2341601
setAutoAnalyzePolicy(String, String, String)190%20%225511
equals(Object)190%40%336611
getDbNullable(String)184370%4450%4561501
getHadoopProperties()170%20%224411
getDbNamesOrEmpty()170%20%226611
getDbForReplay(String)142058%2466%243901
checkWhenCreating()141144%1150%124801
listDatabaseNames()13735%1150%121301
replayTruncateTable(TruncateTableInfo)130%20%223311
logRefreshExternalTable(ExternalTable, long)130%n/a115511
getTableNameByTableId(long)120%n/a111111
buildMetaCache()112972%2250%231801
initLocalObjects()111252%1375%131601
getDbNullable(long)111150%n/a013601
getDbIds()110%n/a112211
addDatabaseForTest(ExternalDatabase)110%n/a113311
getDbForReplay(long)100%20%223311
onClose()91460%3350%343801
enableAutoAnalyze()91257%3125%232601
setInitializedForTest(boolean)90%20%224411
replayDropTable(String, String)90%20%223311
replayOperateOnBranchOrTag(String, String)90%20%223311
lambda$getFilteredDatabaseNames$4(Map, Map, String)82071%4866%372601
modifyCatalogProps(Map)80%n/a113311
getExecutionAuthenticator()5758%1150%121301
replayCreateTable(String, String)5444%1150%121301
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
replayDropDb(String)4450%1150%121301
setComment(String)40%n/a112211
refreshMetaCacheOnly()3457%1150%121301
replayCreateDb(String)3457%1150%121301
lambda$buildMetaCache$2(ExternalDatabase)30%n/a111111
getSchema(SchemaCacheKey)22893%2250%231701
lambda$getFilteredDatabaseNames$6(List)2675%1150%120101
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)44100%n/a0101601
static {...}38100%n/a010401
resetToUninitialized(boolean)33100%n/a0101101
ExternalCatalog()31100%n/a0101201
setDefaultPropsIfMissing(boolean)29100%4100%030601
lambda$buildMetaCache$1(String)21100%n/a010201
onRefreshCache(boolean)13100%2100%020501
getLowerCaseTableNames()12100%n/a010301
initPreExecutionAuthenticator()10100%1150%120301
hashCode()9100%n/a010101
ifNotSetFallbackToSimpleAuth()7100%n/a010101
getLowerCaseDatabaseNames()7100%n/a010101
bindBrokerName()7100%n/a010101
resetMetaCacheNames()7100%1150%120301
getType()6100%n/a010101
getDbNames()6100%n/a010201
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
getMetadataOps()5100%n/a010201
getEnableMappingVarbinary()4100%n/a010101
getEnableMappingTimestampTz()4100%n/a010101
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
isInitialized()3100%n/a010101
getId()3100%n/a010101
getName()3100%n/a010101
getComment()3100%n/a010101
getErrorMsg()3100%n/a010101
getLastUpdateTime()3100%n/a010101
getCatalogProperty()3100%n/a010101
getTableAutoAnalyzePolicy()3100%n/a010101
getTransactionManager()3100%n/a010101
getThreadPoolWithPreAuth()3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101
lambda$getFilteredDatabaseNames$5(String)2100%n/a010101