MaterializedViewUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total162 of 1,12985%46 of 14468%4110237269330
rewriteByRules(CascadesContext, Function, Plan, Plan, boolean, boolean)3816281%81260%611105101
transformToCommonTableId(BitSet, Map)310%40%336611
normalizeExpression(NamedExpression, NamedExpression, boolean)293151%12425%8941101
getRelatedTableInfos(String, String, Plan, CascadesContext)2811480%51168%5963401
normalizeSinkExpressions(Plan, Plan)90%n/a111111
getRelatedTableInfo(String, String, Plan, CascadesContext)612095%31178%3823101
extractStructInfoFuzzy(Plan, Plan, CascadesContext, BitSet)68593%2880%2612201
canRepresentAsScanPredicate(Expression, Map)34193%3975%3711001
MaterializedViewUtils()30%n/a111111
collectScanPredicates(StructInfo, Map)25896%3770%3621601
normalizeExpressions(Plan, Plan)24195%1375%131701
checkPartitionRefExpression(Collection)23294%1583%141801
withImpliedPredicates(LogicalOlapScan, StructInfo, ExpressionMapping)21990%1150%121601
lambda$rewritePredicateToScan$2(Map, Map, Expression)4097%2675%2501001
removeMaterializedViewHooks(StatementContext)37100%4100%030901
isPrefixSameFromStart(List, List)33100%10100%060801
getChosenMaterializationAndUsedTable(Plan, Map)21100%n/a010401
generateMvOlapScanPlan(OlapTable, long, List, PreAggStatus, CascadesContext)19100%n/a010801
containMaterializedViewHook(StatementContext)19100%4100%030501
collectProducerCtePlans(Plan)13100%n/a010301
extractNondeterministicFunction(Plan)11100%n/a010301
withImpliedPredicates(LogicalOlapScan, StructInfo, List)10100%n/a010301
containsAll(BitSet, BitSet)10100%n/a010301
lambda$getRelatedTableInfo$0(RelatedTableInfo.RelatedTableColumnInfo)10100%1375%130101
rewriteByRules(CascadesContext, Function, Plan, Plan, boolean)8100%n/a010101
collectTableUsedPartitions(Plan, CascadesContext)8100%n/a010201
containTableQueryOperator(Plan)7100%n/a010101
rewritePredicateToScan(Expression, Map, Map)7100%n/a010101
lambda$rewriteByRules$3(AtomicReference, Function, CascadesContext)7100%n/a010201
lambda$rewritePredicateToScan$1(SlotReference, MaterializedViewUtils.HiddenSlotKey)4100%n/a010101