ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,871 of 3,82324%304 of 37418%27434367892689151
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1654722%301025%2526334501
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)960%80%55191911
truncateTable(String, String, PartitionNamesInfo, boolean, String)680%40%33161611
getIncludeTableMap()671316%7112%45151901
getDbIdentityForDrop(String)630%100%66101011
dropDb(String, boolean, boolean)630%40%33141411
getLocalDatabaseName(String, boolean)621317%16211%910141901
getFilteredDatabaseNames()616852%6440%46122801
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
addColumn(TableIf, ColumnPath, Column, ColumnPosition)570%20%22141411
renameColumn(TableIf, ColumnPath, String)570%20%22141411
modifyColumn(TableIf, ColumnPath, Column, ColumnPosition)570%20%22141411
makeSureInitialized()562631%4450%3581801
modifyColumn(TableIf, Column, ColumnPosition)560%20%22141411
modifyColumnComment(TableIf, ColumnPath, String)560%20%22141411
dropColumn(TableIf, ColumnPath)550%20%22141411
updateTableProperties(TableIf, Map)530%20%22141411
addColumns(TableIf, List)530%20%22141411
reorderColumns(TableIf, List)530%20%22141411
createDb(String, boolean, Map)510%40%33121211
checkProperties(CatalogProperty)503037%8433%67112101
listDatabaseNames()480%60%44131311
getDbIdentityForReplay(String, long)470%100%667711
unregisterDatabase(String)460%60%44121211
renameTable(String, String, String)440%20%22121211
refreshMetaCacheOnly(boolean)431323%5116%34121601
invalidatePropertySpecificCacheGroups(Map)403546%6650%57132101
initAccessController(boolean)401425%5116%3491301
invalidateColdDatabaseForReplay(String)380%20%22101011
getDbForReplay(String)370%80%559911
retireCachedDatabaseForNoOp(String)370%80%557711
getSpecifiedDatabaseMap(String)341632%5116%3461101
retireUnresolvedDatabaseGeneration(boolean)310%40%33101011
buildConf()300%20%226611
getAllDbs()300%40%339911
getConfiguration()280%40%337711
unregisterDatabase(String, long)270%n/a116611
retireAllDatabaseObjectsWithoutEngineInvalidation()260%20%228811
gsonPostProcess()253659%5337%4581901
listTableNames(SessionContext, String)231437%5116%344801
enableAutoAnalyze()210%40%336611
replayDropTable(String, String, String)190%40%336611
setAutoAnalyzePolicy(String, String, String)190%20%225511
equals(Object)190%40%336611
getDbNullable(String)184671%4450%4561601
replayDropDb(String, String)180%40%336611
checkWhenCreating()171139%1150%125901
getDbNamesOrEmpty()170%20%226611
containsDatabaseName(Map, String, boolean)160%20%225511
shouldInvalidateRowCountOnDatabaseRemoval()160%40%331111
isDatabaseAllowedByFilter(String, Map, Map, boolean)151955%6650%471501
isDatabaseAllowedByFilter(String)140%20%222211
lambda$handleDatabaseMetaCacheRemoval$17(RemovalCause, ExternalDatabase)140%40%333311
getDbForReplay(long)130%40%333311
replayTruncateTable(TruncateTableInfo)130%20%223311
logRefreshExternalTable(ExternalTable, long)130%n/a115511
resetToUninitialized(boolean)125080%3350%3442201
getTableNameByTableId(Long)120%n/a111111
buildMetaCache()114078%2250%231801
initLocalObjects()111252%1375%131601
getDbNullable(long)111150%n/a013601
getDbIds()110%n/a112211
addDatabaseForTest(ExternalDatabase)110%n/a113311
initPreExecutionAuthenticator()100%20%223311
onClose()91460%3350%343801
setInitializedForTest(boolean)90%20%224411
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
replayOperateOnBranchOrTag(String, String)90%20%223311
addColumn(TableIf, Column, ColumnPosition)90%n/a112211
executeIfDatabaseCurrent(ExternalDatabase, BooleanSupplier)80%n/a111111
replayDropDb(String)80%20%223311
lambda$getFilteredDatabaseNames$9(List)80%20%221111
lambda$buildMetaCache$3(String, String)80%n/a111111
getDbForDropReplay(String)70%n/a111111
replayCreateDb(String)70%20%223311
bindBrokerName()70%n/a111111
resetMetaCacheNames()70%20%223311
renameColumn(TableIf, String, String)70%n/a112211
lambda$getDbForDropReplay$14(Pair)70%n/a111111
lambda$buildMetaCache$4(String)70%n/a111111
shouldInvalidateRoutedCacheOnDatabaseRemoval()60%n/a111111
handleDatabaseMetaCacheRemoval(Optional, RemovalCause)60%n/a112211
dropColumn(TableIf, String)60%n/a112211
localDatabaseNameFromRemote(String)51575%2250%231501
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$getDbIdentityForDrop$13(long, String)50%n/a111111
lambda$getDbIdentityForReplay$12(long, String)50%n/a111111
lambda$containsDatabaseName$10(String, String)50%n/a111111
lambda$buildMetaCache$6(String, Optional, RemovalCause)50%n/a111111
getEnableMappingVarbinary()40%n/a111111
retireUnresolvedDatabaseGeneration()40%n/a112211
isInitialized()30%n/a111111
getCatalogProperty()30%n/a111111
getTableAutoAnalyzePolicy()30%n/a111111
getTransactionManager()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
lambda$gsonPostProcess$16()30%n/a111111
lambda$gsonPostProcess$15()30%n/a111111
lambda$new$1()30%n/a111111
lambda$new$0()30%n/a111111
getSchema(SchemaCacheKey)22893%2250%231701
lambda$getFilteredDatabaseNames$7(Map, Map, String)21083%1150%120201
lambda$getFilteredDatabaseNames$8(String)20%n/a111111
isMetadataLoadEpochCurrent(long)990%1150%120101
ExternalCatalog(long, String, InitCatalogLog.Type, String)57100%n/a0102001
ExternalCatalog()44100%n/a0101601
static {...}27100%n/a010301
lambda$buildMetaCache$5(String)21100%n/a010201
setDefaultPropsIfMissing(boolean)17100%2100%020501
onRefreshCache(boolean)14100%1150%120501
acquireMetadataLoadEpoch()12100%n/a010301
getLowerCaseTableNames()12100%n/a010301
lambda$updateLowerCaseToDatabaseName$11(Map, Pair)11100%n/a010101
updateLowerCaseToDatabaseName(List)10100%n/a010401
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
ifNotSetFallbackToSimpleAuth()7100%n/a010101
getLowerCaseDatabaseNames()7100%n/a010101
notifyPropertiesUpdated(Map)7100%n/a010301
getType()6100%n/a010101
getDbNames()6100%n/a010201
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
checkProperties()5100%n/a010201
tryModifyCatalogProps(Map)5100%n/a010201
getEnableMappingTimestampTz()4100%n/a010101
foldDatabaseName(String)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$2(String)3100%n/a010101
validatePropertiesBeforeUpdate(Map, Map)2100%n/a010101