InternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,517 of 9,77064%462 of 1,06056%3896427202,23333111
createOlapTable(Database, CreateTableInfo)9041,53562%11317961%9214719563801
addPartition(Database, String, AddPartitionOp, boolean, long, boolean, List)26774273%588459%53726123301
dropTable(String, String, boolean, boolean, boolean, boolean, boolean, boolean)19018349%143068%1323175801
createTableStream(CreateStreamCommand)1740%180%1010434311
createPartitionWithIndices(long, OlapTable, long, String, Map, DistributionInfo, DataProperty, ReplicaAllocation, Long, Set, Set, boolean, TTabletType, String, MetaIdGenerator.IdGeneratorBuffer, BinlogConfig, boolean)14145876%212756%17252712601
truncateTable(String, String, PartitionNamesInfo, boolean, String)12051281%283857%23342713101
getCurrentPartitionFuture(Database, String, OlapTable, String, SinglePartitionDesc)11013%1611%910273101
createTable(CreateTableInfo)1085834%19932%1215203701
renameDatabase(String, String)930%80%55202011
recoverDatabase(String, long, String)758653%10637%8982901
addPartitionLike(Database, String, AddPartitionLikeOp)739456%3562%3563301
unprotectAddReplica(OlapTable, ReplicaPersistInfo)600%40%33141411
addMultiPartitions(Database, String, AlterMultiPartitionOp)570%0%22131311
dropPartition(Database, OlapTable, DropPartitionOp)515652%12633%91062001
loadDb(DataInputStream, long)496657%5337%3562001
dropDb(String, boolean, boolean)4716778%51575%51154401
genDropHint(String, TableIf)430%80%55101011
unprotectDropDb(Database, boolean, boolean, long)423746%466%2441301
alterDatabaseQuota(String, QuotaType, long)420%60%44121211
recoverPartition(String, String, String, String, long)402942%433%3431101
dropCatalogRecycleBin(DropCatalogRecycleBinCommand.IdType, long)400%40%44131311
createBrokerTable(Database, CreateTableInfo)390%n/a118811
truncateTableInternal(OlapTable, List, boolean, Map, boolean)367667%3770%2672201
createDb(String, boolean, Map)357367%3562%3542101
createMysqlTable(Database, CreateTableInfo)350%n/a117711
recoverTable(String, String, String, long)342542%5337%4541101
alterDatabaseProperty(String, Map)320%0%22101011
replayRenameDatabase(String, String)320%n/a118811
dropPartitionWithoutCheck(Database, OlapTable, String, boolean, boolean)3110777%13940%111283001
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
checkAndGetBufferSize(long, long, long, Database, String)282142%375%132501
checkCreateTableResult(String, long, Pair)280%40%336611
getUsedDataQuota()270%0%225511
replayAddReplica(ReplicaPersistInfo)220%n/a116611
replayDeleteReplica(ReplicaPersistInfo)220%n/a116611
unprotectDeleteReplica(OlapTable, ReplicaPersistInfo)210%n/a115511
checkAutoIncColumns(List, KeysType)3664%51168%5951601
replayAlterExternalTableSchema(String, String, List)0%n/a116611
lambda$createPartitionWithIndices$7(Map.Entry)0%n/a111111
lambda$truncateTable$11(Set)0%0%224411
lambda$addPartition$0(Set)0%0%224411
replayDropPartition(DropPartitionInfo)7584%9743%8921701
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)27596%53186%51926101
registerDbFunctionsToNereids(Database)44%50%122401
afterCreatePartitions(long, long, List, List, boolean, boolean)0%n/a112211
replayCreateTable(String, long, Table)62%50%122701
replayCreateTableInternal(Database, Table)11594%12100%0722901
lambda$createPartitionWithIndices$6(Backend)0%0%221111
lambda$createPartitionWithIndices$5(SystemInfoService, Map.Entry)0%n/a111111
onClose()0%n/a112211
dropTableInternal(Database, Table, boolean, boolean, StopWatch, Map)9494%41071%4812601
unprotectDropTable(Database, Table, boolean, boolean, long)8794%990%1611801
saveDb(CountingDataOutputStream, long)4890%583%1411201
unprotectUpdateReplica(OlapTable, ReplicaPersistInfo)5292%50%1211401
modifyCatalogName(String)0%n/a112211
modifyCatalogProps(Map)0%n/a112211
replayTruncateTable(TruncateTableInfo)13497%990%1613001
replayCreateDb(Database, String)81%50%121601
getTableNameByTableId(long)3794%375%131601
getTableByTableId(Long)2291%375%131601
getComment()0%n/a111111
enableAutoAnalyze()0%n/a111111
lambda$createPartitionWithIndices$4(short, int, Integer)90%50%120101
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
getDbNullable(String)28100%6100%040701
replayRecoverDatabase(RecoverInfo)25100%n/a010801
replayRecoverPartition(RecoverInfo)25100%n/a010701
replayAutoIncrementIdUpdateLog(AutoIncrementIdUpdateLog)24100%n/a010401
dropTable(Database, long, boolean, boolean, Long)23100%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$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
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
lambda$createOlapTable$9(Column)100%n/a010101
getType()100%n/a010101
getId()100%n/a010101
getName()100%n/a010101
getProperties()100%n/a010101
getLowerCaseTableNames()100%n/a010101
erasePartitionDropBackendReplicas(List)100%n/a010101
eraseDroppedIndex(long, long, List)100%n/a010101
beforeCreatePartitions(long, long, List, List, boolean)100%n/a010101
afterCreatePartitions(long, long, List, List, boolean, boolean, OlapTable)100%n/a010101