Branch Coverage

perly.c
Criterion Covered Total %
branch 77 86 89.5


line true false branch
204 2210011 0 if (!parser->stack)
209 98698 2210011 for (i=0; i< parser->yylen; i++) {
216 164549 2210011 while (ps > parser->stack) {
217 0 164549 LEAVE_SCOPE(ps->savestack_ix);
218 33297 131252 if (yy_type_tab[yystos[ps->state]] == toketype_opval
219 2024 31273 && ps->val.opval)
221 25 1999 if (ps->compcv != PL_compcv) {
313 10 1544549502 if (size >= (size_t)parser->stack_size - 1) {
316 0 10 Renew(parser->stack, parser->stack_size, yy_stack_frame);
331 947970053 596579459 if (yyn == YYPACT_NINF)
337 537912004 410058049 if (parser->yychar == YYEMPTY) {
355 4356901 943595765 if (parser->yychar <= YYEOF) {
360 943595765 0 yytoken = YYTRANSLATE (parser->yychar);
367 947536642 416024 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
545818594 401718048 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
370 5714362 540104232 if (yyn <= 0) {
371 5714362 0 if (yyn == 0 || yyn == YYTABLE_NINF)
377 537925984 2178248 if (yyn == YYFINAL)
384 537925984 0 if (parser->yychar != YYEOF)
398 537925415 569 if (parser->yyerrstatus)
409 998712751 780 if (yyn == 0)
466 1539896599 1004412777 for (i=0; i< parser->yylen; i++) {
487 871931001 132481776 if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == ps[-1].state)
308704882 563226119 if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == ps[-1].state)
501 301 479 if (!parser->yyerrstatus) {
506 433 341 if (parser->yyerrstatus == 3) {
511 32 401 if (parser->yychar == YYEOF) {
516 402 32 while (ps > parser->stack) {
518 92 310 LEAVE_SCOPE(ps->savestack_ix);
519 132 270 if (yy_type_tab[yystos[ps->state]] == toketype_opval
520 73 59 && ps->val.opval)
523 0 73 if (ps->compcv != PL_compcv) {
553 1680 35 if (yyn != YYPACT_NINF) {
555 1678 2 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) {
740 938 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR) {
557 0 740 if (0 < yyn)
563 973 2 if (ps == parser->stack)
567 28 945 LEAVE_SCOPE(ps->savestack_ix);
568 671 302 if (yy_type_tab[yystos[ps->state]] == toketype_opval && ps->val.opval) {
256 415 if (yy_type_tab[yystos[ps->state]] == toketype_opval && ps->val.opval) {
570 4 252 if (ps->compcv != PL_compcv) {
583 740 0 if (yyn == YYFINAL)
605 2178248 2178248 for (ps=parser->ps; ps > parser->stack; ps--) {