InternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,802 of 9,60470%341 of 1,00265%3056165432,16725114
createOlapTable(Database, CreateTableInfo)6431,53370%6717171%5912013156601
addPartition(Database, String, AddPartitionClause, boolean, long, boolean)21175078%528261%47685322401
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)13318558%82877%819125201
truncateTable(String, String, PartitionNamesInfo, boolean, String)12051080%283857%23342713101
createPartitionWithIndices(long, OlapTable, long, String, Map, DistributionInfo, DataProperty, ReplicaAllocation, Long, Set, Set, boolean, TTabletType, String, MetaIdGenerator.IdGeneratorBuffer, BinlogConfig, boolean)11646880%143068%11232212101
getCurrentPartitionFuture(Database, String, OlapTable, String, SinglePartitionDesc)11013%16211%910273101
recoverDatabase(String, long, String)758352%10637%8982801
addPartitionLike(Database, String, AddPartitionLikeClause)739356%3562%3563201
createTable(CreateTableInfo)6210462%72175%715103701
unprotectAddReplica(OlapTable, ReplicaPersistInfo)600%40%33141411
loadDb(DataInputStream, long)496958%5337%3562101
dropDb(String, boolean, boolean)4716277%41680%41154301
dropPartition(Database, OlapTable, DropPartitionClause)476056%9950%71062001
checkLegalityofPartitionExprs(CreateTableInfo, PartitionDesc)438365%51575%51152001
unprotectDropDb(Database, boolean, boolean, long)423142%2466%2441101
alterDatabaseQuota(String, QuotaType, long)420%60%44121211
recoverPartition(String, String, String, String, long)402942%4233%3431101
dropCatalogRecycleBin(DropCatalogRecycleBinCommand.IdType, long)400%40%44131311
createBrokerTable(Database, CreateTableInfo)390%n/a118811
genDropHint(String, TableIf)370%60%448811
truncateTableInternal(OlapTable, List, boolean, Map, boolean)367467%3770%2672101
createDb(String, boolean, Map)357367%3562%3542101
createMysqlTable(Database, CreateTableInfo)350%n/a117711
createOdbcTable(Database, CreateTableInfo)350%n/a117711
recoverTable(String, String, String, long)342542%5337%4541101
renameDatabase(String, String)326165%4450%4542001
alterDatabaseProperty(String, Map)320%20%22101011
loadCluster(DataInputStream, long)310%40%337711
replayAlterDatabaseQuota(String, long, QuotaType)300%60%44101011
tryLock(boolean)2921%712%45111301
checkAndGetBufferSize(long, long, long, Database, String)282142%375%132501
getUsedDataQuota()270%20%225511
checkNullityEqual(ArrayList, List)262549%787%153901
replayAddReplica(ReplicaPersistInfo)220%n/a116611
replayDeleteReplica(ReplicaPersistInfo)220%n/a116611
unprotectDeleteReplica(OlapTable, ReplicaPersistInfo)210%n/a115511
checkAutoIncColumns(List, KeysType)203664%51168%5951601
replayAlterExternalTableSchema(String, String, List)0%n/a116611
lambda$createPartitionWithIndices$7(Map.Entry)0%n/a111111
lambda$truncateTable$10(Set)0%20%224411
lambda$addPartition$0(Set)0%20%224411
addMultiPartitions(Database, String, AlterMultiPartitionClause)4275%2100%0221201
getChildTypeByName(String, CreateTableInfo)2261%375%131601
dropPartitionWithoutCheck(Database, OlapTable, String, boolean, boolean)11790%51372%51032801
checkPartitionNullity(List, PartitionDesc, SinglePartitionDesc)10188%1191%1712301
findAllowNullforSlotRef(List, SlotRef)2060%375%131501
replayAlterDatabaseProperty(String, Map)0%n/a115511
clearDbs()0%40%335511
validateColumns(List, boolean)3373%3975%3731401
createTablets(MaterializedIndex, Replica.ReplicaState, DistributionInfo, long, ReplicaAllocation, TabletMeta, Set, MetaIdGenerator.IdGeneratorBuffer, boolean)25995%53186%51925701
createEsTable(Database, CreateTableInfo)7187%2250%2322101
checkCreateTableResult(String, long, Pair)64%2250%232601
replayCreateTable(String, long, Table)62%50%122701
dropTableWithoutCheck(Database, Table, boolean, boolean)2172%50%124901
replayCreateTableInternal(Database, Table)11594%12100%0722901
replayDropPartition(DropPartitionInfo)7191%4866%4711501
lambda$createPartitionWithIndices$6(Backend)0%20%221111
lambda$createPartitionWithIndices$5(SystemInfoService, Map.Entry)0%n/a111111
unprotectDropTable(Database, Table, boolean, boolean, long)7493%583%1411601
saveDb(CountingDataOutputStream, long)4890%583%1411201
unprotectUpdateReplica(OlapTable, ReplicaPersistInfo)5292%50%1211401
modifyCatalogName(String)0%n/a112211
modifyCatalogProps(Map)0%n/a112211
replayCreateDb(Database, String)81%50%121601
getTableNameByTableId(Long)2993%375%131601
enableAutoAnalyze()0%n/a111111
lambda$createPartitionWithIndices$4(short, int, Integer)90%50%120101
replayAddPartition(PartitionPersistInfo)157100%12100%0703201
replayTruncateTable(TruncateTableInfo)137100%10100%0603001
recreateTabletInvertIndex()130100%14100%0802901
eraseTableDropBackendReplicas(OlapTable, boolean)94100%1191%1702201
dropTableInternal(Database, Table, boolean, boolean, StopWatch, Map)91100%12100%0702401
replayDropDb(String, boolean, Long)83100%2100%0201901
InternalCatalog()68100%2100%0201401
createJdbcTable(Database, CreateTableInfo)35100%n/a010701
replayRenameDatabase(String, String)32100%n/a010801
getDbNullable(String)31100%6100%040801
replayRecoverPartition(RecoverInfo)25100%n/a010701
getTableByTableId(Long)24100%4100%030601
replayAutoIncrementIdUpdateLog(AutoIncrementIdUpdateLog)24100%n/a010401
dropTable(Database, long, boolean, boolean, Long)23100%n/a010701
replayRecoverDatabase(RecoverInfo)22100%n/a010701
replayUpdateReplica(ReplicaPersistInfo)22100%n/a010601
unprotectCreateDb(Database)21100%n/a010401
replayRecoverTable(RecoverInfo)100%n/a010501
lambda$createPartitionWithIndices$3(Map, Map.Entry)100%n/a010201
unlock()100%50%120301
replayDropTable(Database, long, boolean, Long)100%n/a010201
getDbNullable(long)100%n/a010101
getAllDbs()100%n/a010101
lambda$truncateTable$12(Column, Column)100%n/a010101
lambda$truncateTable$11(Column, Column)100%n/a010101
lambda$createOlapTable$9(Map.Entry)100%n/a010101
lambda$addPartition$2(Column, Column)100%n/a010101
lambda$addPartition$1(Column, Column)100%n/a010101
getDbNames()100%n/a010101
getDbIds()100%n/a010101
getDbs()100%n/a010101
checkAvailableCapacity(Database)100%n/a010301
getDbNum()100%n/a010101
replayEraseTable(long)100%n/a010201
replayErasePartition(long)100%n/a010201
lambda$createOlapTable$8(Column)100%n/a010101
static {...}100%n/a010101
getEsRepository()100%n/a010101
getType()100%n/a010101
getId()100%n/a010101
getName()100%n/a010101
getProperties()100%n/a010101
getComment()100%n/a010101
erasePartitionDropBackendReplicas(List)100%n/a010101
eraseDroppedIndex(long, List)100%n/a010101
beforeCreatePartitions(long, long, List, List, boolean)100%n/a010101
afterCreatePartitions(long, long, List, List, boolean)100%n/a010101