InternalCatalog

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total6,492 of 9,34530%735 of 97424%5295981,3782,13474110
createOlapTable(Database, CreateTableInfo)1,1561,11449%1599938%11813024559101
truncateTable(String, String, PartitionNamesInfo, boolean, String)6310%660%343413113111
addPartition(Database, String, AddPartitionOp, boolean, long, boolean, List)35959962%805440%65687722501
dropTable(String, String, boolean, boolean, boolean, boolean, boolean)3180%360%1919525211
createPartitionWithIndices(long, OlapTable, long, String, Map, DistributionInfo, DataProperty, ReplicaAllocation, Long, Set, Set, boolean, TTabletType, String, MetaIdGenerator.IdGeneratorBuffer, BinlogConfig, boolean)22036662%251943%18234212201
dropDb(String, boolean, boolean)2090%200%1111434311
addPartitionLike(Database, String, AddPartitionLikeOp)1670%80%55333311
recoverDatabase(String, long, String)1580%160%99282811
replayAddPartition(PartitionPersistInfo)1570%120%77323211
replayTruncateTable(TruncateTableInfo)1370%100%66303011
dropPartitionWithoutCheck(Database, OlapTable, String, boolean, boolean)1300%180%1010282811
replayCreateTableInternal(Database, Table)1220%120%77292911
createTable(CreateTableInfo)1174929%22621%1415233701
getCurrentPartitionFuture(Database, String, OlapTable, String, SinglePartitionDesc)11013%1611%910273101
truncateTableInternal(OlapTable, List, boolean, Map, boolean)1100%100%66212111
dropPartition(Database, OlapTable, DropPartitionOp)1070%180%1010202011
recreateTabletInvertIndex()963426%9535%58212901
eraseTableDropBackendReplicas(long, OlapTable, boolean)940%120%77222211
renameDatabase(String, String)930%80%55202011
dropTableInternal(Database, Table, boolean, boolean, StopWatch, Map)910%120%77242411
replayDropDb(String, boolean, Long)830%0%22191911
unprotectDropTable(Database, Table, boolean, boolean, long)810%60%44171711
createEsTable(Database, CreateTableInfo)810%40%33212111
replayDropPartition(DropPartitionInfo)780%120%77151511
unprotectDropDb(Database, boolean, boolean, long)730%60%44111111
recoverPartition(String, String, String, String, long)690%60%44111111
createTablets(MaterializedIndex, Replica.ReplicaState, DistributionInfo, long, ReplicaAllocation, TabletMeta, Set, MetaIdGenerator.IdGeneratorBuffer, boolean)6820274%171952%1319125701
unprotectAddReplica(OlapTable, ReplicaPersistInfo)600%40%33141411
recoverTable(String, String, String, long)590%80%55111111
addMultiPartitions(Database, String, AlterMultiPartitionOp)570%0%22131311
unprotectUpdateReplica(OlapTable, ReplicaPersistInfo)560%0%22141411
loadDb(DataInputStream, long)496958%5337%3562101
alterDatabaseQuota(String, QuotaType, long)420%60%44121211
dropCatalogRecycleBin(DropCatalogRecycleBinCommand.IdType, long)400%40%44131311
createBrokerTable(Database, CreateTableInfo)390%n/a118811
checkAutoIncColumns(List, KeysType)371933%12425%79101601
genDropHint(String, TableIf)370%60%448811
createDb(String, boolean, Map)357367%3562%3542101
createMysqlTable(Database, CreateTableInfo)350%n/a117711
createOdbcTable(Database, CreateTableInfo)350%n/a117711
createJdbcTable(Database, CreateTableInfo)350%n/a117711
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
dropTable(Database, long, boolean, boolean, Long)230%n/a117711
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
replayRecoverTable(RecoverInfo)0%n/a115511
replayAlterExternalTableSchema(String, String, List)0%n/a116611
lambda$createPartitionWithIndices$3(Map, Map.Entry)0%n/a112211
lambda$createPartitionWithIndices$7(Map.Entry)0%n/a111111
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
lambda$createPartitionWithIndices$4(short, int, Integer)0%0%221111
getDbNullable(String)2374%466%242801
replayDropTable(Database, long, boolean, Long)0%n/a112211
lambda$createPartitionWithIndices$6(Backend)0%0%221111
lambda$createPartitionWithIndices$5(SystemInfoService, Map.Entry)0%n/a111111
lambda$truncateTable$13(Column, Column)0%n/a111111
lambda$truncateTable$12(Column, Column)0%n/a111111
saveDb(CountingDataOutputStream, long)4890%583%1411201
getDbNames()0%n/a111111
modifyCatalogName(String)0%n/a112211
modifyCatalogProps(Map)0%n/a112211
replayEraseTable(long)0%n/a112211
replayErasePartition(long)0%n/a112211
replayCreateDb(Database, String)81%50%121601
lambda$createOlapTable$9(Column)0%n/a111111
getType()0%n/a111111
getComment()0%n/a111111
enableAutoAnalyze()0%n/a111111
erasePartitionDropBackendReplicas(List)0%n/a111111
eraseDroppedIndex(long, long, List)0%n/a111111
InternalCatalog()68100%100%0201401
unprotectCreateDb(Database)21100%n/a010401
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
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
getId()100%n/a010101
getName()100%n/a010101
getProperties()100%n/a010101
beforeCreatePartitions(long, long, List, List, boolean)100%n/a010101
afterCreatePartitions(long, long, List, List, boolean, boolean)100%n/a010101