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 737 0 2 not $g1_rhs{$lexeme} and $lexeme ne '[:lex_start:]'
634 11 0 139 $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 912 791 0 substr($subgrammar, 0, 1) eq 'l' and grep {not $_;} @mask
866 1647 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 314 8 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1939 1685 179 2 $earlier_xrl and $earlier_xrl->{'precedence_count'} > 1 || $new_xrl->{'precedence_count'} > 1

or 2 conditions

line l !l condition
232 89 816 $declarations->{$lexeme} //= {}
746 1448 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 1473 286 $parse->{'character_classes'} //= {}
1934 1448 418 $new_xrl->{'precedence_count'} //= 1
2001 4258 0 $subgrammar //= 'g1'
2003 2167 2091 $args->{'subkey'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
119 114 170 0 $hashed_ast->{'start_lhs'} // $hashed_ast->{'first_lhs'}
324 10 2215 0 $naming //= $original_lhs
739 537 228 0 $parse->{'first_lhs'} //= $lhs
841 204 341 1158 $action //= $default_adverbs->{'action'}
849 51 0 1652 $rank //= $default_adverbs->{'rank'}
857 2 0 1701 $null_ranking //= $default_adverbs->{'null_ranking'}
865 48 8 1647 $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 52 44 0 $parse->{'first_lhs'} //= $lhs_name
1466 44 37 241 $action //= $default_adverbs->{'action'}
1474 0 0 322 $null_ranking //= $default_adverbs->{'null_ranking'}
1482 0 0 322 $rank //= $default_adverbs->{'rank'}
1490 4 4 314 $blessing //= $default_adverbs->{'bless'}
1939 2 1 178 $earlier_xrl->{'precedence_count'} > 1 || $new_xrl->{'precedence_count'} > 1
2002 0 4258 0 $args->{'subgrammar'} //= $subgrammar