org.apache.doris.nereids.rules.rewrite

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethodsMissedClasses
Total12,348 of 46,30073%1,834 of 5,00263%1,5204,0242,3259,2832751,5144197
VariantSubPathPruning.VariantSubPathReplacer1,5910%1500%9595297297202011
PushDownEncodeSlot.EncodeSlotPushDownVisitor1,0350%1080%6767206206131311
DeferMaterializeTopNResult67132832%641215%7291109205355301
PushDownAggWithDistinctThroughJoinOneSide489275%600%43458596131501
OrExpansion39464161%303855%276153164102701
PushDownTopNDistinctThroughJoin386419%380%2931728491101
MergeAggregate31221640%451727%425464109132301
LimitAggToTopNAgg30828748%562430%40585912571801
PushDownEncodeSlot304257%424%273058665801
PushDownEncodeSlot.PushDownContext2980%300%212156566611
StatsDerive27050064%513339%457358173133101
SetPreAggStatus.SetOlapScanPreAgg24627853%393547%2844441052701
MultiJoin2364816%200%1925395091501
SetPreAggStatus.SetOlapScanPreAgg.KeyAndValueSlotsAggChecker2270%460%33333838101011
PushDownAggThroughJoinOneSide22151169%495753%36704114351701
VariantSubPathPruning.Context1923214%175%151735456801
SaltJoin17377681%356263%32673817521701
AdjustNullable1671,15687%3412879%281042925502301
ReduceAggregateChildOutputRows1671910%293%161925311401
SplitMultiDistinct15561679%115182%10432413211201
PruneFileScanPartition151159%80%91132365701
PullUpProjectBetweenTopNAndAgg1402113%220%141728333601
LogicalResultSinkToShortCircuitPointQuery1396331%22621%192324416901
PushDownAggThroughJoin13855680%345461%33671512782301
SetPreAggStatus.SetOlapScanPreAgg.OneValueSlotAggChecker1363018%1810%1721263271101
ColumnPruning13392087%249479%20863123932701
PullUpPredicates12898888%249279%271042219864501
PushDownTopNDistinctThroughUnion1221913%80%81018244601
EliminateEmptyRelation11651681%185876%16552614011701
VariantSubPathPruning.VariantSubPathCollector11518962%112367%102522632801
EliminateGroupBy11124668%102470%72415700701
PushDownTopNThroughUnion1061512%80%7917223501
DecoupleEncodeDecode1032116%1810%111422281401
PushDownFilterThroughPartitionTopN10310%120%7924271301
RewriteCteChildren9843081%102873%8321510511301
InferPredicateByReplace.ReplaceAnalyzer912420%1016%6812180201
PushDownTopNThroughJoin8922871%91765%724135501001
PushDownFilterThroughSetOperation8626775%132363%1028187201001
PushDownFilterThroughProject8521071%151346%112321702901
SimplifyWindowExpression8416466%151142%111916571601
PullUpProjectUnderTopN816946%5337%51012271601
PullUpProjectUnderLimit792221%0%4710153601
CollectPredicateOnScan702727%712%5820281401
AggScalarSubQueryToWindowFunction.ExpressionIdenticalChecker682627%10428%101510135801
DistinctWindowExpression677452%121045%91512350401
UnequalPredicateInfer.InferenceGraph651,51195%2522189%221461526302301
CheckMatchExpression612529%140%81112171401
PullUpJoinFromUnionAll601,10694%2610880%26832324201601
PushDownTopNThroughWindow6015271%121453%111916520601
MergeSetOperations5915572%111354%91913481701
PushDownLimit5833685%71770%823107131001
PruneEmptyPartition585850%12633%81414291501
MergeSetOperationsExcept582429%0%359142401
EliminateAggCaseWhen575348%41071%31011240301
EliminateAggregate5220%80%7910133501
ReorderJoin5068793%126283%12501115421301
EliminateSortUnderApply502735%n/a2410162401
VariantSubPathPruning462938%1016%6910180301
MergeGenerates4620%0%249121301
PushDownAggThroughJoinOnPkFk4551691%206075%1954911101401
SkipSimpleExprs4512172%111557%8176331401
InferInPredicateFromOr4310871%7750%61310381601
PushDownAggThroughJoinOnPkFk.InnerJoinCluster3927087%73784%6317630901
AddDefaultLimit388869%12840%10189281801
SimplifyEncodeDecode374655%4660%387210301
QueryPartitionCollector308273%5758%398280301
MaxMinFilterPushDown2822989%123675%10314480701
EliminateGroupByKeyByUniform2528291%33592%3245630501
NormalizeToSlot.NormalizeWithoutWindowFunction2510180%71161%6126300301
EliminateNullAwareLeftAntiJoin2528%0%357102401
EliminateLimitUnderApply241436%0%247101301
PullUpJoinFromUnionAll.LogicalPlanComparator2322290%133371%12298420601
PushDownDistinctThroughJoin2212284%61470%6185270801
EliminateFilter2121791%42686%42545101001
CheckPrivileges2116088%41477%5164421701
PushProjectIntoUnion2114387%31178%3122300501
CheckMultiDistinct2111484%72376%7193270401
CheckDataTypes218580%1191%1113250501
ExtractAndNormalizeWindowExpression2029093%62076%72736911401
EliminateGroupByKey2023792%2596%1201490701
PruneOlapScanTablet1918690%82273%7204420501
PushCountIntoUnionAll1845196%144074%144299601501
ScalarApplyToJoin1811085%5758%6133261701
PushDownAliasThroughJoin1728294%42485%43025501601
UnCorrelatedApplyAggregateFilter1717190%880%280400301
PullUpCorrelatedFilterUnderApplyAggregateProject1716290%1083%2100350401
EliminateSemiJoin165677%675%2102180501
PushDownFilterIntoSchemaScan1510587%71161%7137310401
CheckDataTypes.ExpressionChecker158585%1191%1103230401
EliminateSortUnderSubqueryOrView153670%n/a14081401
SetPreAggStatus.SetOlapScanPreAgg.OneKeySlotAggChecker152764%50%37382601
InApplyToJoin1431295%82676%8213560401
TransposeSemiJoinLogicalJoinProject1424594%112367%112954501201
EliminateAssertNumRows1412389%82575%7224330501
PushDownFilterThroughWindow148185%787%173220301
MergePercentileToArray44997%3494%2261890801
SumLiteralRewrite49197%64688%53629701001
PullUpCteAnchor13291%3770%3112300601
AggScalarSubQueryToWindowFunction82098%166680%1682514804101
InferPredicateByReplace28296%83480%83136711001
ConvertOuterJoinToAntiJoin25296%32990%3251470901
TransposeSemiJoinLogicalJoin16894%101661%10203290701
EliminateOuterJoin31797%113173%93236401101
PushDownFilterThroughJoin23796%32990%3213560501
CountDistinctRewrite12193%62076%5192280601
CreatePartitionTopNFromWindow8490%3975%391180301
PushDownFilterThroughRepeat8291%3562%383220401
SumLiteralRewrite.SumInfo6288%5550%584160301
EliminateLimit5687%466%281120501
ForeignKeyContext37498%72779%74147102401
PushDownLimitDistinctThroughJoin35198%92371%9243510701
EliminateOrderByKey31197%3294%2232750601
AdjustConjunctsReturnType10693%466%2101250701
UnequalPredicateInfer8592%675%373241301
InferPredicates37598%43088%42927001101
NormalizeToSlot.NormalizeToSlotContext21197%31986%32235001101
InferPredicateByReplace.PredicatesCollector16496%51777%52332901201
InferSetOperatorDistinct10894%41477%4181220901
PushDownFilterThroughGenerate7492%3350%382190501
MergePercentileToArray.DistinctAndExpr5491%5550%592130401
VariantSubPathPruning.VariantSubPathCollector.ExtractSlotToSubPathPairFromTree1878%50%13160201
PushDownExpressionsInHashCondition36398%1487%22817802001
EliminateJoinByFK30998%2692%22426001001
PullUpProjectUnderApply9996%3975%2100170401
EliminateOrderByConstant5392%787%171160301
ExtractSingleTableExpressionFromDisjunction38899%3895%23129001101
ColumnPruning.KeyColumnCollector6395%10100%181171301
ExprIdRewriter.ReplaceRule4593%375%151150301
PruneOlapScanPartition34299%34794%3331930801
CountLiteralRewrite20299%2996%1221430701
ProjectOtherJoinConditionForNestedLoopJoin15698%2090%2160350501
UnCorrelatedApplyProjectFilter13998%375%171290501
InitJoinOrder11898%31583%3141300501
TransposeSemiJoinAggProject8797%50%181140701
MergeTopNs5896%50%141160301
PushDownLimitDistinctThroughUnion15799%787%1110270701
EliminateJoinCondition8898%1083%2120180601
OperativeColumnDerive352100%5496%2370660901
PushProjectThroughUnion316100%30100%0240640901
CTEInline197100%1593%1150390701
SetPreAggStatus190100%2195%12204301101
EliminateNotNull184100%2090%2170470601
ExistsApplyToJoin179100%787%1110310701
InferAggNotNull167100%2291%22403101201
PushDownJoinOtherCondition153100%2195%1170300601
EliminateConstHashJoinCondition147100%42284%4190330601
EliminateSort145100%18100%0160300701
InferJoinNotNull142100%12100%0100300401
PushDownFilterThroughAggregation132100%1392%1110290401
MergeOneRowRelationIntoUnion122100%8100%080240401
InferFilterNotNull120100%16100%0130270501
SetPreAggStatus.PreAggInfoContext117100%100%080280701
NormalizeSort117100%8100%080320401
SimplifyAggGroupBy105100%1995%1150220501
EliminateUnnecessaryProject98100%14100%0120210501
ForeignKeyContext.new DefaultPlanVisitor() {...}97100%8100%090210501
FindHashConditionForJoin84100%583%160240301
PushFilterInsideJoin82100%6100%080170501
MergeLimits81100%787%1100150601
TransposeSemiJoinAgg81100%4100%090160701
UnCorrelatedApplyFilter78100%100%040170301
LimitSortToTopN75100%n/a040200401
ProjectOtherJoinConditionForNestedLoopJoin.AliasReplacer71100%787%180130401
CheckAndStandardizeWindowFunctionAndFrame68100%n/a050160501
ExprIdRewriter65100%8100%060150201
ConvertInnerOrCrossJoin65100%3975%3120120601
EliminateDedupJoinCondition62100%466%260150301
PushDownFilterThroughSort60100%100%06080501
CollectFilterAboveConsumer60100%4100%060140401
CheckRestorePartition53100%583%160100301
EliminateJoinByUnique51100%4100%060120401
NormalizeToSlot.NormalizeToSlotTriplet49100%4100%040120201
SemiJoinCommute48100%4100%08080601
SplitLimit43100%100%05080401
ExtractFilterFromCrossJoin42100%n/a030120301
PushDownProjectThroughLimit40100%n/a03060301
CollectCteConsumerOutput35100%n/a04070401
BuildAggForUnion33100%100%05050401
OperativeColumnDerive.DeriveContext31100%100%050100401
MergeFilters31100%n/a03070301
PullUpJoinFromUnionAll.ExpressionOrIndex30100%n/a02080201
MergeProjectable30100%n/a03060301
MergeProjects28100%n/a03070301
UnequalPredicateInfer.InferenceGraph.Relation27100%n/a01050101
TransposeSemiJoinLogicalJoinProject.ContainsType27100%n/a01020101
ClearContextStatus25100%n/a02060201
ProjectOtherJoinConditionForNestedLoopJoin.ReplacerContext24100%n/a01070101
AddProjectForJoin23100%n/a03040301
OrExpansion.OrExpandsionContext17100%n/a01050101
ColumnPruning.PruneContext16100%n/a01060101
SplitMultiDistinct.DistinctSplitContext14100%n/a01050101
InlineLogicalView100%n/a02020201
UnequalPredicateInfer.InferenceGraph.PairAndRelation100%n/a01040101
SkipSimpleExprs.ExprFeature100%n/a01040101
StatsDerive.DeriveContext100%n/a01020101
OneRewriteRuleFactory100%n/a01010101
RewriteRuleFactory100%n/a01010101