ExternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total621 of 2,49075%75 of 22566%7621911461913102
buildDbForInit(String, String, long, InitCatalogLog.Type, boolean)4316178%93076%82594401
buildConf()300%20%226611
renameColumn(TableIf, String, String)282446%1150%1251301
getConfiguration()280%40%337711
reorderColumns(TableIf, List)262346%1150%1251301
makeSureInitialized()235971%4450%3541801
renameTable(String, String, String)222250%1150%1241201
gsonPostProcess()222047%4233%3471401
equals(Object)190%40%336611
getDbNamesOrEmpty()170%20%226611
truncateTable(String, String, PartitionNamesInfo, boolean, String)164875%2250%2321501
dropTable(String, String, 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)133975%1150%1211301
modifyColumn(TableIf, Column, ColumnPosition)133975%1150%1211301
createDb(String, boolean, Map)133874%1375%1311201
dropColumn(TableIf, String)133774%1150%1211301
addColumns(TableIf, List)133673%1150%1211301
dropDb(String, boolean, boolean)133472%1150%1211101
listDatabaseNames()13735%1150%121301
getDbForReplay(String)121352%1375%132601
getTableNameByTableId(Long)120%n/a111111
checkProperties()114379%1787%1531301
buildMetaCache()112871%1375%131801
initLocalObjects()111252%1375%131601
getDbIds()110%n/a112211
addDatabaseForTest(ExternalDatabase)110%n/a113311
initPreExecutionAuthenticator()100%20%223311
getDbForReplay(long)100%20%223311
initAccessController(boolean)94583%1583%1421301
setInitializedForTest(boolean)90%20%224411
replayTruncateTable(TruncateTableInfo)7436%1150%121301
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)25296%1583%1411301
getSchema(ExternalSchemaCache.SchemaCacheKey)22893%2250%231701
getFilteredDatabaseNames()126100%8100%0502801
getSpecifiedDatabaseMap(String)50100%1583%1401101
ExternalCatalog(long, String, InitCatalogLog.Type, String)41100%n/a0101501
getAllDbs()30100%1375%130901
ExternalCatalog()28100%n/a0101101
checkWhenCreating()25100%2100%020801
resetToUninitialized(boolean)23100%n/a010801
onClose()23100%6100%040801
getDbNullable(long)22100%n/a010601
enableAutoAnalyze()21100%4100%030601
lambda$buildMetaCache$1(String)21100%n/a010201
setAutoAnalyzePolicy(String, String, String)19100%2100%020501
static {...}19100%n/a010301
notifyPropertiesUpdated(Map)18100%2100%020501
logRefreshExternalTable(ExternalTable)12100%n/a010501
onRefreshCache(boolean)10100%2100%020401
hashCode()9100%n/a010101
modifyCatalogProps(Map)8100%n/a010301
lambda$getFilteredDatabaseNames$6(List)8100%2100%020101
setDefaultPropsIfMissing(boolean)7100%n/a010201
ifNotSetFallbackToSimpleAuth()7100%n/a010101
refreshMetaCacheOnly()7100%2100%020301
getOnlyTestLowerCaseTableNames()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
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