NereidsPlanner

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,810 of 2,88537%285 of 38926%2132794326893179
chooseBestPlanWithRequiredGroups(Group, PhysicalProperties, Set, Map)2700%340%1818626211
getExplainString(ExplainOptions)2550%490%2929676711
preMaterializedViewRewrite()13164%1516%89343601
planWithLock(LogicalPlan, PhysicalProperties, ExplainCommand.ExplainLevel, boolean, Consumer)955436%10637%79213201
computeReachableGroupIds(Group, Map)880%100%66171711
planWithoutLock(LogicalPlan, PhysicalProperties, ExplainCommand.ExplainLevel, boolean)848951%161242%1315203901
collectHboPlanInfo(String, PhysicalPlan, PlanTranslatorContext)780%100%66202011
doDistribute(boolean, ExplainCommand.ExplainLevel)7034%1317%78171901
getHintExplainString(List)670%100%77202011
splitFragments(PhysicalPlan)6525979%92170%816187001
configRuntimeFilterWaitTime()544947%12633%910112401
collectAndLockTable(boolean, boolean)448365%61470%511123401
optimize(boolean)402336%6650%57101701
setFormatOptions()390%40%44111111
tryAddResultSetToSqlCache(ResultSet)350%60%44111111
handleQueryInFe(StatementBase)330%60%44101011
chooseBestPlan(Group, PhysicalProperties, CascadesContext)309475%7750%5862501
getProfile(Function, Object)250%60%446611
plan(StatementBase, TQueryOptions)237175%3350%3432101
waitForTimeBasedChangeVisibleBeforeLock()222250%2250%2361401
chooseNthPlan(Group, PhysicalProperties, int)222148%1150%124801
getGarbageCollectionTime()22621%3125%236801
lambda$getTimeMetricString$14(Function, SummaryProfile)160%40%332211
rewrite(boolean)133069%3350%3441101
analyze(boolean)132969%3350%3441101
distribute(PhysicalPlan, ExplainCommand.ExplainLevel)132464%11531%892901
addLocalExchangeAfterDistribute()111963%5337%452701
getExplainLevel(ExplainOptions)9430%3125%232401
getConnectContext()90%20%221111
plan(StatementBase)81055%n/a012501
showAnalyzeProcess(ExplainCommand.ExplainLevel, boolean)8433%5116%340101
showRewriteProcess(ExplainCommand.ExplainLevel, boolean)8433%5116%340101
planWithLock(LogicalPlan, PhysicalProperties)80%n/a111111
getRuntimeFilters()80%n/a111111
appendTupleInfo(StringBuilder)70%n/a112211
getTimeMetricString(Function)70%n/a111111
keepOrShowPlanProcess(boolean, Runnable)6545%1150%121401
lambda$chooseBestPlan$13(PhysicalProperties)60%n/a111111
lambda$chooseNthPlan$12(PhysicalProperties)60%n/a111111
lambda$preMaterializedViewRewrite$10(CascadesContext)60%n/a112211
lambda$collectAndLockTable$4()60%n/a111111
showPlanProcess(ExplainOptions)5444%3125%230101
getTopnFilters()50%n/a111111
lambda$rewrite$9(PlannerHook)50%n/a111111
setAnalyzedPlan(Plan)40%n/a112211
lambda$analyze$7(PlannerHook)40%n/a111111
lambda$analyze$5(PlannerHook)40%n/a111111
getPhysicalRelations()30%n/a111111
getParsedPlan()30%n/a111111
getAnalyzedPlan()30%n/a111111
getRewrittenPlan()30%n/a111111
getOptimizedPlan()30%n/a111111
getDistributedPlans()30%n/a111111
getLogicalPlanAdapter()30%n/a111111
lambda$configRuntimeFilterWaitTime$2(LogicalCatalogRelation)571%1150%120101
pinBeExecVersion(TQueryOptions)16100%2100%020401
lambda$plan$0(ExplainCommand.ExplainLevel, Plan)16100%1150%120501
NereidsPlanner(StatementContext)15100%n/a010601
planWithLock(LogicalPlan, PhysicalProperties, ExplainCommand.ExplainLevel, boolean)10100%n/a010201
static {...}9100%n/a010201
preprocess(LogicalPlan)8100%n/a010101
initCascadesContext(LogicalPlan, PhysicalProperties)8100%n/a010201
postProcess(PhysicalPlan)8100%n/a010101
planWithLock(LogicalPlan, PhysicalProperties, ExplainCommand.ExplainLevel)7100%n/a010101
lambda$optimize$11()7100%n/a010201
lambda$collectAndLockTable$3()7100%n/a010101
collectAndLockTable(boolean)5100%n/a010201
getRoot()5100%n/a010101
lambda$rewrite$8()5100%n/a010201
lambda$analyze$6()5100%n/a010101
setParsedPlan(Plan)4100%n/a010201
setOptimizedPlan(Plan)4100%n/a010201
getScanNodes()3100%n/a010101
getDescTable()3100%n/a010101
getCascadesContext()3100%n/a010101
getStatementContext()3100%n/a010101
getPhysicalPlan()3100%n/a010101
buildInitRequireProperties()100%n/a010101
lambda$planWithLock$1(Plan)100%n/a010101