Alter

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,702 of 3,07144%240 of 37636%1752443967332353
processAlterOlapTableInternal(List, OlapTable, Database, String)27226148%534747%37516113301
processAlterTableForExternalTable(ExternalTable, List)2190%340%1818535311
processAlterTable(AlterTableCommand)11410748%131145%1014265601
checkModifyPartitionStoragePolicyResource(OlapTable, List, Map, boolean)1050%220%1212313111
modifyPartitionsProperty(Database, OlapTable, List, Map, boolean)9821368%242045%1823217301
processReplicasInPartition(Partition, Map, SystemInfoService, ReplicaAllocation, ReplicaAllocation, List)980%120%77212111
setExternalTableAutoAnalyzePolicy(ExternalTable, List)880%120%77161611
processModifyColumnComment(Database, OlapTable, List)870%80%55202011
processModifyMinLoadReplicaNum(Database, OlapTable, AlterOp)730%80%55212111
modifyViewDef(Database, View, String, Map, List, String)620%40%33171711
replayModifyComment(ModifyCommentOperationLog)570%50%44151511
markReplicasForDropping(List, int, Map, Map)550%40%339911
lambda$sortReplicasByBackendCount$3(Map, Map, Replica, Replica)520%20%227711
processReplaceTable(Database, OlapTable, List)370%20%229911
processAlterView(AlterViewCommand, ConnectContext)360%n/a11101011
processAlterExternalTableInternal(List, Table, Database)260%40%337711
processModifyTableComment(Database, OlapTable, AlterOp)240%n/a118811
processRename(Database, Table, List)240%40%337711
processAlterMTMV(AlterMTMV, boolean)236774%4969%4972501
processRename(Database, OlapTable, List)173768%4660%4661601
setReplicasToDrop(Partition, ReplicaAllocation, ReplicaAllocation, Map)15937%1150%124601
lambda$processReplicasInPartition$1(ReplicaAllocation, Map.Entry)150%20%221111
isTabletHealthy(Tablet, SystemInfoService, Partition, ReplicaAllocation, List)140%20%221111
checkNoForceProperty(Map)121860%3350%242601
processAlterExternalTable(AlterTableCommand, Table, Database)120%n/a113311
replaceTableInternal(Database, OlapTable, OlapTable, boolean, boolean, boolean)98490%2880%2612301
getReplicasWithTag(Tablet)80%n/a112211
replayProcessModifyEngine(ModifyTableEngineOperationLog)70%n/a112211
sortReplicasByBackendCount(List, Map, Map)60%n/a112211
lambda$replayModifyPartition$8(PartitionInfo, ModifyPartitionInfo, String)60%n/a111111
lambda$getReplicasWithTag$2(Replica)60%n/a112211
processReplaceTable(Database, OlapTable, String, boolean, boolean)59595%1375%1312101
replayReplaceTable(ReplaceTableOperationLog)57994%n/a0121601
processAlterOlapTable(AlterTableCommand, OlapTable, List, Database)52180%2250%231501
replayModifyViewDef(AlterViewInfo)7095%2250%2312201
replayModifyPartition(ModifyPartitionInfo)6395%4450%4511601
lambda$setReplicasToDrop$0(ReplicaAllocation, Map.Entry)1386%1150%120101
lambda$replayModifyPartition$7(String)571%1150%120101
getUnfinishedAlterTableIds()74100%12100%0701401
processCreateMaterializedView(CreateMaterializedViewCommand)28100%n/a010701
processDropMaterializedView(DropMaterializedViewCommand)28100%n/a010701
Alter()24100%2100%020501
needChangeMTMVState(List)18100%4100%030501
getReplicaCountByBackend(Partition)14100%n/a010401
start()10100%n/a010401
processAlterSystem(AlterSystemCommand)8100%n/a010201
lambda$getReplicaCountByBackend$5(Tablet)100%n/a010101
lambda$getReplicaCountByBackend$4(MaterializedIndex)100%n/a010101
static {...}100%n/a010101
getSchemaChangeHandler()100%n/a010101
getMaterializedViewHandler()100%n/a010101
getSystemHandler()100%n/a010101
lambda$getReplicaCountByBackend$6(Long)100%n/a010101