ReducePatternDetector

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total224 of 76370%67 of 15055%538966223214
detectMathMaxMinPattern(String, Expression)545048%201237%1217142701
detectPrefixReducePattern(PrefixExpression, Statement)490%60%44141411
addMapBeforeReduce(List, ProspectiveOperation, Statement, String, AST)356966%71568%71273101
detectCompoundAssignmentPattern(Assignment, Statement, String)274461%8433%6792001
detectInfixReducePattern(Assignment, Statement, String)188282%81055%61073101
detectPostfixReducePattern(PostfixExpression, Statement)113877%4233%3441401
extractMathMaxMinArgument(Statement, String, String)87690%61470%61142701
detectReduceOperation(Statement)63485%1787%1511101
ReducePatternDetector(ASTNode)51473%1150%121701
hasAccumulatorArgument(MethodInvocation, String)43088%4450%452901
getAccumulatorType()30%n/a111111
detectAssignmentReducePattern(Assignment, Statement)26396%1787%1511701
extractReduceExpression(Statement)23694%1787%1511301
getAccumulatorVariable()3100%n/a010101