ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total861 of 2,90570%112 of 27358%10125116771514110
getIncludeTableMap()711315%7112%45162001
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)5115375%102974%925104401
getLocalDatabaseName(String, boolean)461322%10216%67111601
initAccessController(boolean)401425%5116%3491301
buildConf()370%40%338811
renameColumn(TableIf, String, String)282850%1150%1251401
getConfiguration()280%40%337711
reorderColumns(TableIf, List)262750%1150%1251401
buildHadoopConfiguration(Map)260%20%225511
makeSureInitialized()235971%4450%3541801
listTableNames(SessionContext, String)231437%5116%344801
renameTable(String, String, String)223963%1150%1241501
gsonPostProcess()222654%4450%3571601
equals(Object)190%40%336611
getHadoopProperties()170%20%224411
getDbNamesOrEmpty()170%20%226611
truncateTable(String, String, PartitionNamesInfo, boolean, String)165276%2250%2321601
getDbForReplay(String)142058%2466%243901
dropTable(String, String, boolean, boolean, boolean, boolean, boolean, boolean)137985%1787%1511901
createOrReplaceBranch(TableIf, CreateOrReplaceBranchInfo)134778%1150%1211501
createOrReplaceTag(TableIf, CreateOrReplaceTagInfo)134778%1150%1211501
dropBranch(TableIf, DropBranchInfo)134778%1150%1211501
dropTag(TableIf, DropTagInfo)134778%1150%1211501
createTable(CreateTableInfo)134477%1375%1311601
addColumn(TableIf, Column, ColumnPosition)134376%1150%1211401
modifyColumn(TableIf, Column, ColumnPosition)134376%1150%1211401
dropColumn(TableIf, String)134175%1150%1211401
addColumns(TableIf, List)134075%1150%1211401
createDb(String, boolean, Map)133874%1375%1311201
dropDb(String, boolean, boolean)133472%1150%1211101
listDatabaseNames()13735%1150%121301
getTableNameByTableId(long)120%n/a111111
checkProperties()114379%1787%1531301
buildMetaCache()112972%1375%131801
initLocalObjects()111252%1375%131601
getDbNullable(long)111150%n/a013601
getDbIds()110%n/a112211
addDatabaseForTest(ExternalDatabase)110%n/a113311
getDbForReplay(long)100%20%223311
replayTruncateTable(TruncateTableInfo)9430%1150%121301
setInitializedForTest(boolean)90%20%224411
getFilteredDatabaseNames()614996%31178%3823501
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
unregisterDatabase(String)42987%2250%231601
lambda$getFilteredDatabaseNames$4(Map, Map, String)42485%21083%272601
replayDropDb(String)4450%1150%121301
replayCreateDb(String)3457%1150%121301
getDbNullable(String)25996%2675%2511501
getSchema(SchemaCacheKey)22893%2250%231701
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)44100%n/a0101601
static {...}38100%n/a010401
resetToUninitialized(boolean)33100%n/a0101101
ExternalCatalog()31100%n/a0101201
getAllDbs()30100%1375%130901
setDefaultPropsIfMissing(boolean)29100%4100%030601
checkWhenCreating()25100%2100%020801
onClose()23100%6100%040801
notifyPropertiesUpdated(Map)23100%2100%020701
enableAutoAnalyze()21100%4100%030601
lambda$buildMetaCache$1(String)21100%n/a010201
setAutoAnalyzePolicy(String, String, String)19100%2100%020501
onRefreshCache(boolean)13100%2100%020501
logRefreshExternalTable(ExternalTable, long)13100%n/a010501
getLowerCaseTableNames()12100%n/a010301
initPreExecutionAuthenticator()10100%1150%120301
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
lambda$getFilteredDatabaseNames$6(List)8100%2100%020101
ifNotSetFallbackToSimpleAuth()7100%n/a010101
refreshMetaCacheOnly()7100%2100%020301
getLowerCaseDatabaseNames()7100%n/a010101
bindBrokerName()7100%n/a010101
resetMetaCacheNames()7100%1150%120301
getType()6100%n/a010101
getDbNames()6100%n/a010201
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
getMetadataOps()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$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
getTransactionManager()3100%n/a010101
getThreadPoolWithPreAuth()3100%n/a010101
lambda$buildMetaCache$2(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101
lambda$getFilteredDatabaseNames$5(String)2100%n/a010101