ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,170 of 2,48052%110 of 22450%11521827061737102
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)989850%201847%1724214301
truncateTable(String, String, PartitionNamesInfo, boolean, String)640%40%33151511
getFilteredDatabaseNames()616551%5337%35122801
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)563639%5337%4581901
addColumn(TableIf, Column, ColumnPosition)520%20%22131311
renameColumn(TableIf, String, String)520%20%22131311
modifyColumn(TableIf, Column, ColumnPosition)520%20%22131311
dropColumn(TableIf, String)500%20%22131311
addColumns(TableIf, List)490%20%22131311
reorderColumns(TableIf, List)490%20%22131311
makeSureInitialized()483441%3562%2571801
renameTable(String, String, String)440%20%22121211
getAllDbs()300%40%339911
checkProperties()272750%4450%3541301
createDb(String, boolean, Map)232854%1375%1341201
dropDb(String, boolean, boolean)232451%1150%1241101
gsonPostProcess()222047%4233%3471401
equals(Object)190%40%336611
getDbNamesOrEmpty()170%20%226611
checkWhenCreating()141144%1150%124801
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
listDatabaseNames()13735%1150%121301
getTableNameByTableId(Long)120%n/a111111
logRefreshExternalTable(ExternalTable)120%n/a115511
initAccessController(boolean)114379%1583%1431301
getDbNullable(long)111150%n/a013601
getDbIds()110%n/a112211
replayTruncateTable(TruncateTableInfo)110%20%223311
getDbNullable(String)104481%6100%0431301
initPreExecutionAuthenticator()100%20%223311
getDbForReplay(long)100%20%223311
onClose()91460%3350%343801
replayCreateTable(String, String)90%20%223311
replayDropTable(String, String)90%20%223311
replayOperateOnBranchOrTag(String, String)90%20%223311
replayDropDb(String)80%20%223311
lambda$getFilteredDatabaseNames$6(List)80%20%221111
replayCreateDb(String)70%20%223311
bindBrokerName()70%n/a111111
setAutoAnalyzePolicy(String, String, String)61368%1150%121501
getType()60%n/a111111
getConfiguration()52382%1375%131701
notifyPropertiesUpdated(Map)51372%1150%121501
getExecutionAuthenticator()5758%1150%121301
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
setComment(String)40%n/a112211
modifyCatalogName(String)40%n/a112211
getErrorMsg()30%n/a111111
getTransactionManager()30%n/a111111
getThreadPoolWithPreAuth()30%n/a111111
getDbForReplay(String)22392%1375%131601
lambda$getFilteredDatabaseNames$5(String)20%n/a111111
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)41100%n/a0101501
buildMetaCache()37100%4100%030701
unregisterDatabase(String)33100%1375%130601
buildConf()30100%2100%020601
getSchema(ExternalSchemaCache.SchemaCacheKey)30100%1375%130701
ExternalCatalog()28100%n/a0101101
lambda$getFilteredDatabaseNames$4(Map, Map, String)28100%12100%070601
initLocalObjects()23100%4100%030601
resetToUninitialized(boolean)23100%n/a010801
enableAutoAnalyze()21100%4100%030601
lambda$buildMetaCache$1(String)21100%n/a010201
static {...}19100%n/a010301
addDatabaseForTest(ExternalDatabase)11100%n/a010301
onRefreshCache(boolean)10100%2100%020401
setInitializedForTest(boolean)9100%1150%120401
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
setDefaultPropsIfMissing(boolean)7100%n/a010201
ifNotSetFallbackToSimpleAuth()7100%n/a010101
refreshMetaCacheOnly()7100%2100%020301
getOnlyTestLowerCaseTableNames()7100%n/a010101
resetMetaCacheNames()7100%1150%120301
getDbNames()6100%n/a010201
removeAccessController()6100%n/a010201
getLowerCaseMetaNames()6100%n/a010101
getMetaNamesMapping()6100%n/a010101
getProperties()4100%n/a010101
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
getLastUpdateTime()3100%n/a010101
getCatalogProperty()3100%n/a010101
getTableAutoAnalyzePolicy()3100%n/a010101
lambda$buildMetaCache$2(ExternalDatabase)3100%n/a010101
lambda$buildMetaCache$0(String)3100%n/a010101