Condition Coverage

blib/lib/Marpa/R3/MetaAST.pm
Criterion Covered Total %
condition 87 128 67.9


and 3 conditions

line !l l&&!r l&&r condition
255 732 0 2 not $g1_rhs{$lexeme} and $lexeme ne '[:lex_start:]'
634 11 0 138 $key eq 'action' and $subgrammar eq 'g1'
638 0 0 11 $key eq 'bless' and $subgrammar eq 'g1'
666 0 0 27 $key eq 'event' and defined $value
785 905 788 0 substr($subgrammar, 0, 1) eq 'l' and grep {not $_;} @mask
866 1637 56 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
957 105 0 0 substr($subgrammar, 0, 1) eq 'l' and grep {not $_;} @mask
1037 39 66 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1190 95 0 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1265 28 61 0 exists $declarations{'event'} and not exists $declarations{'pause'}
1273 28 61 0 exists $declarations{'pause'} and not exists $declarations{'event'}
1491 310 8 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1939 1674 178 2 $earlier_xrl and $earlier_xrl->{'precedence_count'} > 1 || $new_xrl->{'precedence_count'} > 1

or 2 conditions

line l !l condition
232 89 810 $declarations->{$lexeme} //= {}
746 1440 0 $parse->{'rules'}{$subgrammar} //= []
1010 19 86 $assoc //= 'L'
1513 49 11 $parse->{'completion_events'} //= {}
1531 40 6 $parse->{'nulled_events'} //= {}
1550 47 8 $parse->{'prediction_events'} //= {}
1826 1466 285 $parse->{'character_classes'} //= {}
1934 1440 414 $new_xrl->{'precedence_count'} //= 1
2001 4232 0 $subgrammar //= 'g1'
2003 2156 2076 $args->{'subkey'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
119 114 169 0 $hashed_ast->{'start_lhs'} // $hashed_ast->{'first_lhs'}
324 10 2201 0 $naming //= $original_lhs
739 532 228 0 $parse->{'first_lhs'} //= $lhs
841 204 334 1155 $action //= $default_adverbs->{'action'}
849 51 0 1642 $rank //= $default_adverbs->{'rank'}
857 2 0 1691 $null_ranking //= $default_adverbs->{'null_ranking'}
865 48 8 1637 $blessing //= $default_adverbs->{'bless'}
1012 29 70 6 $action //= $default_adverbs->{'action'}
1020 0 0 105 $null_ranking //= $default_adverbs->{'null_ranking'}
1028 0 0 105 $rank //= $default_adverbs->{'rank'}
1036 50 16 39 $blessing //= $default_adverbs->{'bless'}
1112 79 16 0 $parse->{'first_lhs'} //= $lhs
1165 30 34 31 $action //= $default_adverbs->{'action'}
1173 0 0 95 $null_ranking //= $default_adverbs->{'null_ranking'}
1181 0 0 95 $rank //= $default_adverbs->{'rank'}
1189 0 0 95 $blessing //= $default_adverbs->{'bless'}
1393 51 43 0 $parse->{'first_lhs'} //= $lhs_name
1466 44 35 239 $action //= $default_adverbs->{'action'}
1474 0 0 318 $null_ranking //= $default_adverbs->{'null_ranking'}
1482 0 0 318 $rank //= $default_adverbs->{'rank'}
1490 4 4 310 $blessing //= $default_adverbs->{'bless'}
1939 2 1 177 $earlier_xrl->{'precedence_count'} > 1 || $new_xrl->{'precedence_count'} > 1
2002 0 4232 0 $args->{'subgrammar'} //= $subgrammar