ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,086 of 2,90528%208 of 27323%18625149871556110
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1574723%291025%2425324401
dropTable(String, String, boolean, 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
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
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
initAccessController(boolean)401425%5116%3491301
buildConf()370%40%338811
checkProperties()361833%6225%4581301
getSpecifiedDatabaseMap(String)341632%5116%3461101
getDbForReplay(String)340%60%449911
unregisterDatabase(String)330%40%336611
getAllDbs()300%40%339911
getConfiguration()280%40%337711
buildHadoopConfiguration(Map)260%20%225511
gsonPostProcess()252347%5337%4581601
listTableNames(SessionContext, String)231437%5116%344801
enableAutoAnalyze()210%40%336611
listDatabaseNames()200%20%223311
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
checkWhenCreating()141144%1150%124801
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%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
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
lambda$getFilteredDatabaseNames$6(List)80%20%221111
notifyPropertiesUpdated(Map)71669%1150%122701
replayCreateDb(String)70%20%223311
bindBrokerName()70%n/a111111
resetMetaCacheNames()70%20%223311
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$buildMetaCache$3(String, Optional, RemovalCause)40%n/a111111
refreshMetaCacheOnly()3457%1150%121301
isInitialized()30%n/a111111
getCatalogProperty()30%n/a111111
getTableAutoAnalyzePolicy()30%n/a111111
getTransactionManager()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
lambda$buildMetaCache$2(ExternalDatabase)30%n/a111111
getSchema(SchemaCacheKey)22893%2250%231701
lambda$getFilteredDatabaseNames$5(String)20%n/a111111
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
onClose()23100%6100%040801
lambda$buildMetaCache$1(String)21100%n/a010201
onRefreshCache(boolean)13100%2100%020501
getLowerCaseTableNames()12100%n/a010301
initPreExecutionAuthenticator()10100%1150%120301
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
ifNotSetFallbackToSimpleAuth()7100%n/a010101
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
getId()3100%n/a010101
getName()3100%n/a010101
getComment()3100%n/a010101
getErrorMsg()3100%n/a010101
getLastUpdateTime()3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101