InternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,040 of 9,30356%577 of 1,06045%4546429352,23352111
createOlapTable(Database, CreateTableInfo)9231,41560%14714549%10914722463801
addPartition(Database, String, AddPartitionOp, boolean, long, boolean, List)26171773%608257%55726723301
dropTable(String, String, boolean, boolean, boolean, boolean, boolean, boolean)24010630%271738%2123285801
createPartitionWithIndices(long, OlapTable, long, String, Map, DistributionInfo, DataProperty, ReplicaAllocation, Long, Set, Set, boolean, TTabletType, String, MetaIdGenerator.IdGeneratorBuffer, BinlogConfig, boolean)16438770%262245%18254012601
createTableStream(CreateStreamCommand)1600%180%1010434311
truncateTable(String, String, PartitionNamesInfo, boolean, String)15545374%363045%27343713101
dropPartitionWithoutCheck(Database, OlapTable, String, boolean, boolean)1380%220%1212303011
recoverDatabase(String, long, String)1290%160%99292911
createTable(CreateTableInfo)1174929%22621%1415233701
getCurrentPartitionFuture(Database, String, OlapTable, String, SinglePartitionDesc)10114%1611%910273101
dropPartition(Database, OlapTable, DropPartitionOp)910%180%1010202011
renameDatabase(String, String)850%80%55202011
unprotectAddReplica(OlapTable, ReplicaPersistInfo)600%40%33141411
recoverTable(String, String, String, long)590%80%55111111
unprotectUpdateReplica(OlapTable, ReplicaPersistInfo)560%0%22141411
dropDb(String, boolean, boolean)5414172%11945%911114401
addMultiPartitions(Database, String, AlterMultiPartitionOp)510%0%22131311
loadDb(DataInputStream, long)496657%5337%3562001
recoverPartition(String, String, String, String, long)470%60%44111111
genDropHint(String, TableIf)430%80%55101011
alterDatabaseQuota(String, QuotaType, long)420%60%44121211
dropCatalogRecycleBin(DropCatalogRecycleBinCommand.IdType, long)400%40%44131311
getTableNameByTableId(long)390%40%336611
createBrokerTable(Database, CreateTableInfo)390%n/a118811
checkAutoIncColumns(List, KeysType)3733%12425%79101601
truncateTableInternal(OlapTable, List, boolean, Map, boolean)367667%4660%3672201
createMysqlTable(Database, CreateTableInfo)350%n/a117711
addPartitionLike(Database, String, AddPartitionLikeOp)339474%3562%3563301
alterDatabaseProperty(String, Map)320%0%22101011
replayRenameDatabase(String, String)320%n/a118811
loadCluster(DataInputStream, long)310%40%337711
replayAlterDatabaseQuota(String, long, QuotaType)300%60%44101011
tryLock(boolean)2921%712%45111301
dropTableWithoutCheck(Database, Table, boolean, boolean)290%0%229911
checkCreateTableResult(String, long, Pair)280%40%336611
createDb(String, boolean, Map)276470%3562%3542101
getUsedDataQuota()270%0%225511
replayRecoverDatabase(RecoverInfo)250%n/a118811
replayRecoverPartition(RecoverInfo)250%n/a117711
unprotectDropDb(Database, boolean, boolean, long)243760%466%2441301
replayAutoIncrementIdUpdateLog(AutoIncrementIdUpdateLog)240%n/a114411
dropTableInternal(Database, Table, boolean, boolean, StopWatch, Map)227777%7750%6852601
replayAddReplica(ReplicaPersistInfo)220%n/a116611
replayUpdateReplica(ReplicaPersistInfo)220%n/a116611
replayDeleteReplica(ReplicaPersistInfo)220%n/a116611
unprotectDeleteReplica(OlapTable, ReplicaPersistInfo)210%n/a115511
registerDbFunctionsToNereids(Database)0%0%224411
replayRecoverTable(RecoverInfo)0%n/a115511
replayAlterExternalTableSchema(String, String, List)0%n/a116611
lambda$createPartitionWithIndices$3(Map, Map.Entry)0%n/a112211
lambda$truncateTable$11(Set)0%0%224411
lambda$addPartition$0(Set)0%0%224411
validateColumns(List, boolean)3168%5758%4731401
replayAlterDatabaseProperty(String, Map)0%n/a115511
clearDbs()0%40%335511
createTablets(MaterializedIndex, Replica.ReplicaState, DistributionInfo, long, ReplicaAllocation, TabletMeta, Set, MetaIdGenerator.IdGeneratorBuffer, boolean)26896%53186%51926101
checkAndGetBufferSize(long, long, long, Database, String)2165%375%132501
afterCreatePartitions(long, long, List, List, boolean, boolean)0%n/a112211
lambda$createPartitionWithIndices$4(short, int, Integer)0%0%221111
replayCreateTable(String, long, Table)62%50%122701
replayCreateTableInternal(Database, Table)11594%12100%0722901
unprotectDropTable(Database, Table, boolean, boolean, long)8592%880%2611801
replayDropPartition(DropPartitionInfo)8292%8850%8911701
lambda$createPartitionWithIndices$6(Backend)0%0%221111
lambda$createPartitionWithIndices$5(SystemInfoService, Map.Entry)0%n/a111111
getDbNullable(String)2278%583%141701
onClose()0%n/a112211
lambda$createPartitionWithIndices$7(Map.Entry)0%n/a111111
saveDb(CountingDataOutputStream, long)4890%583%1411201
getDbNames()0%n/a111111
modifyCatalogName(String)0%n/a112211
modifyCatalogProps(Map)0%n/a112211
replayTruncateTable(TruncateTableInfo)13497%990%1613001
replayCreateDb(Database, String)81%50%121601
lambda$createOlapTable$9(Column)0%n/a111111
getTableByTableId(Long)2291%375%131601
getType()0%n/a111111
getComment()0%n/a111111
enableAutoAnalyze()0%n/a111111
eraseDroppedIndex(long, long, List)0%n/a111111
replayAddPartition(PartitionPersistInfo)157100%12100%0703201
recreateTabletInvertIndex()130100%14100%0802901
eraseTableDropBackendReplicas(long, OlapTable, boolean)94100%1191%1702201
replayDropDb(String, boolean, Long)87100%100%0202001
InternalCatalog()63100%100%0201301
dropTable(Database, long, boolean, boolean, Long)23100%n/a010701
unprotectCreateDb(Database)21100%n/a010401
unlock()100%50%120301
replayDropTable(Database, long, boolean, Long)100%n/a010201
getDbNullable(long)100%n/a010101
getAllDbs()100%n/a010101
lambda$truncateTable$13(Column, Column)100%n/a010101
lambda$truncateTable$12(Column, Column)100%n/a010101
lambda$createOlapTable$10(Map.Entry)100%n/a010101
lambda$addPartition$2(Column, Column)100%n/a010101
lambda$addPartition$1(Column, Column)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
getId()100%n/a010101
getName()100%n/a010101
getProperties()100%n/a010101
getLowerCaseTableNames()100%n/a010101
erasePartitionDropBackendReplicas(List)100%n/a010101
beforeCreatePartitions(long, long, List, List, boolean)100%n/a010101
afterCreatePartitions(long, long, List, List, boolean, boolean, OlapTable)100%n/a010101