ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,668 of 2,94643%169 of 29943%15927344176551120
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)1048143%221540%1923224201
dropTable(String, String, boolean, boolean, boolean, boolean, boolean, boolean)680%80%55191911
getDbNullableWithoutCache(String)640%60%44141411
truncateTable(String, String, PartitionNamesInfo, boolean, String)620%40%33161611
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
listDatabaseNames()420%60%44131311
dropDb(String, boolean, boolean)410%20%22111111
makeSureInitialized()393446%3562%2571801
matchesLocalDbName(String, String)380%100%668811
buildConf()370%40%338811
getDbForReplay(String)340%60%449911
unregisterDatabase(String)330%40%336611
getAllDbs()300%40%339911
getConfiguration()280%40%337711
gsonPostProcess()222654%4450%3571601
checkProperties()212756%4450%3541301
getFilteredDatabaseNames(boolean)1914088%21688%21023701
equals(Object)190%40%336611
getLocalDatabaseName(String, boolean)184169%4866%3741601
getDbNamesOrEmpty()170%20%226611
getDbNullable(String)165577%3770%3651801
checkWhenCreating()141144%1150%124801
replayTruncateTable(TruncateTableInfo)130%20%223311
logRefreshExternalTable(ExternalTable, long)130%n/a115511
getExecutionAuthenticator()120%20%223311
initAccessController(boolean)114379%1583%1431301
getDbNullable(long)111150%n/a013601
getDbIds()110%n/a112211
addDatabaseForTest(ExternalDatabase)110%n/a113311
initPreExecutionAuthenticator()100%20%223311
getDbForReplay(long)100%20%223311
replayCreateDb(String)100%20%224411
onClose()91460%3350%343801
replayOperateOnBranchOrTag(String, String)90%20%223311
notifyPropertiesUpdated(Map)71669%1150%122701
bindBrokerName()70%n/a111111
resetMetaCacheNames()70%20%223311
lambda$getDbNullableWithoutCache$7(String, Pair)70%n/a111111
setAutoAnalyzePolicy(String, String, String)61368%1150%121501
replayDropTable(String, String)61062%1150%121401
replayCreateTable(String, String)6960%1150%121401
getTableNameByTableId(long)60%n/a111111
replayDropDb(String)5758%1150%121401
getMetadataOps()50%n/a112211
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
getEnableMappingVarbinary()40%n/a111111
getEnableMappingTimestampTz()40%n/a111111
setComment(String)40%n/a112211
modifyCatalogName(String)40%n/a112211
getTransactionManager()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
getSchema(SchemaCacheKey)22893%2250%231701
lambda$getFilteredDatabaseNames$6(List)2675%1150%120101
getIncludeTableMap()84100%8100%0502001
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)44100%n/a0101601
buildMetaCache()40100%1375%130801
listTableNames(SessionContext, String)37100%2466%240801
resetToUninitialized(boolean)33100%n/a0101101
ExternalCatalog()31100%n/a0101201
static {...}31100%n/a010401
setDefaultPropsIfMissing(boolean)29100%4100%030601
lambda$getFilteredDatabaseNames$4(Map, Map, String)28100%12100%070601
buildHadoopConfiguration(Map)26100%2100%020501
initLocalObjects()23100%4100%030601
getDbNames()22100%2100%020701
enableAutoAnalyze()21100%4100%030601
lambda$buildMetaCache$1(String)21100%n/a010201
getHadoopProperties()17100%1150%120401
onRefreshCache(boolean)13100%2100%020501
getLowerCaseTableNames()12100%n/a010301
setInitializedForTest(boolean)9100%1150%120401
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
ifNotSetFallbackToSimpleAuth()7100%n/a010101
refreshMetaCacheOnly()7100%2100%020301
getLowerCaseDatabaseNames()7100%n/a010101
getType()6100%n/a010101
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
recordDeferredInitError(Throwable)5100%n/a010201
getFilteredDatabaseNames()4100%n/a010101
getProperties()4100%n/a010101
setLastUpdateTime(long)4100%n/a010201
getIncludeDatabaseMap()4100%n/a010101
getExcludeDatabaseMap()4100%n/a010101
lambda$replayDropTable$9(String, ExternalDatabase)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
lambda$replayCreateTable$8(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$2(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101
shouldBypassTableNameCache(SessionContext)2100%n/a010101
shouldBypassDbNameCache(SessionContext)2100%n/a010101
lambda$getFilteredDatabaseNames$5(String)2100%n/a010101
overlayMetaCacheConfig(Map)100%n/a010101