ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,839 of 3,04739%212 of 32735%18429347178547125
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)999950%201745%1824194101
getIncludeTableMap()711315%7112%45162001
dropTable(String, String, boolean, boolean, boolean, boolean, boolean, boolean)680%80%55191911
truncateTable(String, String, PartitionNamesInfo, boolean, String)620%40%33161611
updateDatabaseCache(String, String, ExternalDatabase, boolean)570%120%77111111
renameTable(String, String, String)550%20%22151511
createOrReplaceBranch(TableIf, CreateOrReplaceBranchInfo)540%20%22151511
createOrReplaceTag(TableIf, CreateOrReplaceTagInfo)540%20%22151511
dropBranch(TableIf, DropBranchInfo)540%20%22151511
dropTag(TableIf, DropTagInfo)540%20%22151511
createTable(CreateTableInfo)510%40%33161611
addColumn(TableIf, Column, ColumnPosition)500%20%22141411
renameColumn(TableIf, String, String)500%20%22141411
modifyColumn(TableIf, Column, ColumnPosition)500%20%22141411
dropColumn(TableIf, String)480%20%22141411
addColumns(TableIf, List)470%20%22141411
reorderColumns(TableIf, List)470%20%22141411
createDb(String, boolean, Map)450%40%33121211
dropDb(String, boolean, boolean)410%20%22111111
initAccessController(boolean)401425%5116%3491301
getDbForReplay(String)39817%6225%4591201
buildConf()370%40%338811
listDatabaseNames()321023%4233%34101301
resolveDatabaseNameFromSnapshot(String, boolean, Function)312645%11531%7971501
checkProperties()301837%6225%4581301
invalidateDatabaseCache(String)300%60%446611
getAllDbs()300%40%339911
getConfiguration()280%40%337711
buildHadoopConfiguration(Map)260%20%225511
getLocalDatabaseName(String, boolean)251334%6225%4551001
makeSureInitialized()235068%4450%3541801
listTableNames(SessionContext, String)231437%5116%344801
getDbForReplay(long)230%40%336611
gsonPostProcess()222351%4233%3471501
enableAutoAnalyze()210%40%336611
unregisterDatabase(String)200%40%336611
equals(Object)190%40%336611
addDatabaseForTest(ExternalDatabase)180%n/a114411
getHadoopProperties()170%20%224411
getDbNamesOrEmpty()170%20%226611
checkWhenCreating()141144%1150%124801
logRefreshExternalTable(ExternalTable, long)130%n/a115511
buildMetaCache()115382%2466%2411401
getDbNullable(long)112064%2100%023901
initLocalObjects()111252%1375%131601
getDbIds()110%n/a112211
getDbNullable(String)105183%5550%5641901
replayTruncateTable(TruncateTableInfo)9430%1150%121301
setInitializedForTest(boolean)90%20%224411
lambda$updateDatabaseCache$10(String, String, String, NameCacheValue)90%20%221111
lambda$updateDatabaseCache$9(String, String, String, NameCacheValue)90%20%221111
lambda$invalidateDatabaseCache$11(String, String, NameCacheValue)80%20%221111
updateDatabaseCache(String, String, ExternalDatabase)70%n/a112211
invalidateDatabaseNamesOnly()70%20%223311
bindBrokerName()70%n/a111111
getFilteredDatabaseNames()613995%31178%3823301
getTableNameByTableId(long)60%n/a111111
lambda$invalidateDatabaseCache$12(String, Map.Entry)60%n/a111111
getExecutionAuthenticator()5758%1150%121301
replayCreateTable(String, String)5444%1150%121301
replayDropTable(String, String)5444%1150%121301
replayOperateOnBranchOrTag(String, String)5444%1150%121301
tableExistInLocal(String, String)50%n/a111111
registerDatabase(long, String)50%n/a111111
viewExists(String, String)50%n/a111111
lambda$getFilteredDatabaseNames$3(Map, Map, String)42485%21083%272601
replayDropDb(String)4450%1150%121301
lambda$getLocalDatabaseName$7(String, NameCacheValue)40%n/a111111
onClose()32086%1583%141801
replayCreateDb(String)3457%1150%121301
getTableAutoAnalyzePolicy()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
resetMetaCacheNames()30%n/a112211
getSchema(SchemaCacheKey)22893%2250%231701
getDatabaseNamesValue(boolean)21789%1375%131301
lambda$buildDbForInit$6(String, NameCacheValue)787%1150%120101
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)44100%n/a0101601
ExternalCatalog()31100%n/a0101201
static {...}31100%n/a010401
resetToUninitialized(boolean)30100%n/a0101001
setDefaultPropsIfMissing(boolean)29100%4100%030601
notifyPropertiesUpdated(Map)23100%2100%020701
lambda$buildMetaCache$1(String)20100%n/a010101
setAutoAnalyzePolicy(String, String, String)19100%2100%020501
listLocalDatabaseNamesFromCache()16100%n/a010301
invalidateAllDatabaseCache()16100%4100%030601
onRefreshCache(boolean)13100%2100%020501
getLowerCaseTableNames()12100%n/a010301
initPreExecutionAuthenticator()10100%1150%120301
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
getRemoteDatabaseName(String, boolean)8100%n/a010101
lambda$getFilteredDatabaseNames$5(List)8100%2100%020101
ifNotSetFallbackToSimpleAuth()7100%n/a010101
getLowerCaseDatabaseNames()7100%n/a010101
getType()6100%n/a010101
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
getMetadataOps()5100%n/a010201
getDbNames()5100%n/a010201
tryModifyCatalogProps(Map)5100%n/a010201
rollBackCatalogProps(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$getRemoteDatabaseName$8(String, NameCacheValue)4100%n/a010101
lambda$buildMetaCache$0(String)4100%n/a010101
isInitialized()3100%n/a010101
refreshMetaCacheOnly()3100%n/a010201
getId()3100%n/a010101
getName()3100%n/a010101
getComment()3100%n/a010101
getErrorMsg()3100%n/a010101
getLastUpdateTime()3100%n/a010101
getCatalogProperty()3100%n/a010101
getTransactionManager()3100%n/a010101
lambda$buildMetaCache$2(String, ExternalDatabase, RemovalCause)3100%n/a010101
lambda$getFilteredDatabaseNames$4(String)2100%n/a010101