InternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total4,648 of 9,34450%514 of 97447%4115989692,13456110
createOlapTable(Database, CreateTableInfo)6401,63071%9016865%7613013459101
truncateTable(String, String, PartitionNamesInfo, boolean, String)6310%660%343413113111
addPartition(Database, String, AddPartitionOp, boolean, long, boolean, List)19276679%548059%49684222501
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)15716150%132363%1219145201
replayAddPartition(PartitionPersistInfo)1570%120%77323211
replayTruncateTable(TruncateTableInfo)1370%100%66303011
recreateTabletInvertIndex()1300%140%88292911
replayCreateTableInternal(Database, Table)1220%120%77292911
loadDb(DataInputStream, long)1180%80%55212111
truncateTableInternal(OlapTable, List, boolean, Map, boolean)1100%100%66212111
createTable(CreateTableInfo)1085834%20828%1315203701
getCurrentPartitionFuture(Database, String, OlapTable, String, SinglePartitionDesc)1022519%1611%910253101
createPartitionWithIndices(long, OlapTable, long, String, Map, DistributionInfo, DataProperty, ReplicaAllocation, Long, Set, Set, boolean, TTabletType, String, MetaIdGenerator.IdGeneratorBuffer, BinlogConfig, boolean)9748883%133170%10232112201
addPartitionLike(Database, String, AddPartitionLikeOp)947343%5337%45113301
renameDatabase(String, String)930%80%55202011
replayDropDb(String, boolean, Long)830%0%22191911
createEsTable(Database, CreateTableInfo)810%40%33212111
replayDropPartition(DropPartitionInfo)780%120%77151511
recoverDatabase(String, long, String)758352%10637%8982801
unprotectAddReplica(OlapTable, ReplicaPersistInfo)600%40%33141411
addMultiPartitions(Database, String, AlterMultiPartitionOp)570%0%22131311
unprotectUpdateReplica(OlapTable, ReplicaPersistInfo)560%0%22141411
saveDb(CountingDataOutputStream, long)530%60%44121211
dropPartition(Database, OlapTable, DropPartitionOp)515652%11738%81062001
dropDb(String, boolean, boolean)4716277%51575%51154301
createDb(String, boolean, Map)426661%5337%4572101
unprotectDropDb(Database, boolean, boolean, long)423142%466%2441101
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
createMysqlTable(Database, CreateTableInfo)350%n/a117711
createOdbcTable(Database, CreateTableInfo)350%n/a117711
createJdbcTable(Database, CreateTableInfo)350%n/a117711
recoverTable(String, String, String, long)342542%4450%3541101
alterDatabaseProperty(String, Map)320%0%22101011
replayRenameDatabase(String, String)320%n/a118811
getTableNameByTableId(Long)310%40%336611
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%50%232501
checkCreateTableResult(String, long, Pair)280%40%336611
getUsedDataQuota()270%0%225511
replayRecoverPartition(RecoverInfo)250%n/a117711
getTableByTableId(Long)240%40%336611
replayCreateTable(String, long, Table)240%0%227711
replayAutoIncrementIdUpdateLog(AutoIncrementIdUpdateLog)240%n/a114411
replayRecoverDatabase(RecoverInfo)220%n/a117711
replayAddReplica(ReplicaPersistInfo)220%n/a116611
replayUpdateReplica(ReplicaPersistInfo)220%n/a116611
replayDeleteReplica(ReplicaPersistInfo)220%n/a116611
unprotectDeleteReplica(OlapTable, ReplicaPersistInfo)210%n/a115511
dropPartitionWithoutCheck(Database, OlapTable, String, boolean, boolean)2011084%81055%71042801
checkAutoIncColumns(List, KeysType)203664%51168%5951601
replayRecoverTable(RecoverInfo)0%n/a115511
replayAlterExternalTableSchema(String, String, List)0%n/a116611
replayCreateDb(Database, String)0%0%226611
lambda$truncateTable$11(Set)0%0%224411
replayAlterDatabaseProperty(String, Map)0%n/a115511
unprotectDropTable(Database, Table, boolean, boolean, long)6985%466%2421701
validateColumns(List, boolean)3373%3975%3731401
createTablets(MaterializedIndex, Replica.ReplicaState, DistributionInfo, long, ReplicaAllocation, TabletMeta, Set, MetaIdGenerator.IdGeneratorBuffer, boolean)26196%33391%31925701
genDropHint(String, TableIf)2978%433%343801
replayDropTable(Database, long, boolean, Long)0%n/a112211
dropTableInternal(Database, Table, boolean, boolean, StopWatch, Map)8492%5758%5722401
lambda$createPartitionWithIndices$6(Backend)0%0%221111
lambda$createPartitionWithIndices$5(SystemInfoService, Map.Entry)0%n/a111111
getDbNullable(String)2580%583%141801
lambda$truncateTable$13(Column, Column)0%n/a111111
lambda$truncateTable$12(Column, Column)0%n/a111111
modifyCatalogName(String)0%n/a112211
modifyCatalogProps(Map)0%n/a112211
replayEraseTable(long)0%n/a112211
replayErasePartition(long)0%n/a112211
getType()0%n/a111111
getComment()0%n/a111111
enableAutoAnalyze()0%n/a111111
eraseDroppedIndex(long, long, List)0%n/a111111
eraseTableDropBackendReplicas(long, OlapTable, boolean)94100%1191%1702201
InternalCatalog()68100%100%0201401
dropTable(Database, long, boolean, boolean, Long)23100%n/a010701
unprotectCreateDb(Database)21100%n/a010401
lambda$createPartitionWithIndices$3(Map, Map.Entry)100%n/a010201
lambda$createPartitionWithIndices$7(Map.Entry)100%n/a010101
lambda$addPartition$0(Set)100%100%020401
clearDbs()100%50%230501
lambda$createPartitionWithIndices$4(short, int, Integer)100%100%020101
unlock()100%50%120301
getDbNullable(long)100%n/a010101
getAllDbs()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
lambda$createOlapTable$8(Column)100%n/a010101
static {...}100%n/a010101
getEsRepository()100%n/a010101
lambda$createOlapTable$9(Column)100%n/a010101
getId()100%n/a010101
getName()100%n/a010101
getProperties()100%n/a010101
erasePartitionDropBackendReplicas(List)100%n/a010101
beforeCreatePartitions(long, long, List, List, boolean)100%n/a010101
afterCreatePartitions(long, long, List, List, boolean, boolean)100%n/a010101