ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,967 of 3,04735%226 of 32730%19929350678557125
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1257336%231437%2124224101
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
makeSureInitialized()472635%4450%3581801
addColumns(TableIf, List)470%20%22141411
reorderColumns(TableIf, List)470%20%22141411
createDb(String, boolean, Map)450%40%33121211
listDatabaseNames()420%60%44131311
dropDb(String, boolean, boolean)410%20%22111111
initAccessController(boolean)401425%5116%3491301
getDbForReplay(String)39817%6225%4591201
buildConf()370%40%338811
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
listTableNames(SessionContext, String)231437%5116%344801
getDbForReplay(long)230%40%336611
gsonPostProcess()222351%4233%3471501
enableAutoAnalyze()210%40%336611
getDbNullable(String)204167%5550%5671901
unregisterDatabase(String)200%40%336611
setAutoAnalyzePolicy(String, String, String)190%20%225511
equals(Object)190%40%336611
addDatabaseForTest(ExternalDatabase)180%n/a114411
getHadoopProperties()170%20%224411
getDbNamesOrEmpty()170%20%226611
checkWhenCreating()141144%1150%124801
replayTruncateTable(TruncateTableInfo)130%20%223311
logRefreshExternalTable(ExternalTable, long)130%n/a115511
buildMetaCache()115382%2466%2411401
getDbNullable(long)112064%2100%023901
initLocalObjects()111252%1375%131601
getDbIds()110%n/a112211
setInitializedForTest(boolean)90%20%224411
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
replayOperateOnBranchOrTag(String, String)90%20%223311
lambda$updateDatabaseCache$10(String, String, String, NameCacheValue)90%20%221111
lambda$updateDatabaseCache$9(String, String, String, NameCacheValue)90%20%221111
replayDropDb(String)80%20%223311
lambda$invalidateDatabaseCache$11(String, String, NameCacheValue)80%20%221111
notifyPropertiesUpdated(Map)71669%1150%122701
replayCreateDb(String)70%20%223311
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
getMetadataOps()50%n/a112211
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
lambda$getLocalDatabaseName$7(String, NameCacheValue)40%n/a111111
onClose()32086%1583%141801
getCatalogProperty()30%n/a111111
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
lambda$buildMetaCache$1(String)20100%n/a010101
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
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
getTransactionManager()3100%n/a010101
lambda$buildMetaCache$2(String, ExternalDatabase, RemovalCause)3100%n/a010101
lambda$getFilteredDatabaseNames$4(String)2100%n/a010101