StmtRewriter

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total3,258 of 3,2580%511 of 5110%2962967367364040
mergeExpr(SelectStmt, Expr, Analyzer, TupleDescriptor)6010%1060%545414714711
rewriteHavingClauseSubqueries(SelectStmt, Analyzer)3380%240%1313717111
rewriteForRandomDistribution(StatementBase, Analyzer)2350%400%2121636311
updateInlineView(InlineViewRef, Expr, List, List, List, boolean)2250%340%1818494911
createJoinConjunct(Expr, InlineViewRef, Analyzer, boolean)2140%200%1111454511
processOneSubquery(SelectStmt, List, ExprSubstitutionMap, List, Expr, Analyzer, boolean)1780%220%1212414111
canRewriteCorrelatedSubquery(Expr, List)1460%320%1717292911
rewriteWhereClauseSubqueries(SelectStmt, Analyzer)1370%160%99303011
createInBitmapConjunct(Expr, SlotRef, Analyzer, boolean)920%100%66151511
rewriteSelectStatement(SelectStmt, Analyzer)910%160%99232311
aggTypeMatch(String, Expr)900%280%1515212111
replaceUnqualifiedStarItems(SelectStmt, int)890%180%1010181811
extractCorrelatedPredicates(SelectStmt)880%140%88242411
generateAggFunction(SlotRef, Column)730%50%44111111
extractExprWithSubquery(boolean, Expr, List, List)530%160%99111111
addMissingAggregationColumns(SelectList, List)510%80%55131311
rewrite(Analyzer, StatementBase)500%40%33141411
replaceExistsPredicate(ExistsPredicate)480%120%77101011
rewriteSelectList(Column, SelectList, ArrayList)450%60%44111111
rewriteUnionStatement(SetOperationStmt, Analyzer)430%60%44101011
rewriteExpr(Expr, Analyzer)400%n/a11101011
rewriteQueryStatement(QueryStmt, Analyzer)370%40%338811
canExtractCorrelatedPredicates(Expr, List)370%100%669911
extractCorrelatedPredicates(Expr, List, ArrayList)360%40%336611
hasSubqueryInDisjunction(Expr)320%80%559911
childrenContainInOrExists(Expr)310%100%667711
containsCorrelatedPredicate(Expr, List)260%60%447711
isKeyOrConstantExpr(Expr)240%40%337711
canEliminate(Expr)200%40%335511
canRewriteScalarFunction(Expr, Expr)190%60%446611
isCorrelatedPredicate(Expr, List)170%80%552211
lambda$rewriteForRandomDistribution$2(FunctionCallExpr)100%20%221111
lambda$canRewriteCorrelatedSubquery$0(Expr)80%20%221111
lambda$rewriteForRandomDistribution$4(Expr)70%20%221111
lambda$rewriteForRandomDistribution$3(Expr)70%20%221111
lambda$createInBitmapConjunct$1(Expr)70%20%221111
lambda$aggTypeMatch$5(String, Expr)0%n/a111111
static {...}0%n/a111111
StmtRewriter()0%n/a111111
rewriteByPolicy(StatementBase, Analyzer)0%n/a111111