Condition Coverage

blib/lib/Marpa/R3/MetaAST.pm
Criterion Covered Total %
condition 85 125 68.0


and 3 conditions

line !l l&&!r l&&r condition
606 11 0 135 $key eq 'action' and $subgrammar eq 'g1'
610 0 0 11 $key eq 'bless' and $subgrammar eq 'g1'
638 0 0 27 $key eq 'event' and defined $value
757 905 782 0 substr($subgrammar, 0, 1) eq 'l' and grep {not $_;} @mask
838 1631 56 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
929 105 0 0 substr($subgrammar, 0, 1) eq 'l' and grep {not $_;} @mask
1009 39 66 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1162 95 0 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1237 28 61 0 exists $declarations{'event'} and not exists $declarations{'pause'}
1245 28 61 0 exists $declarations{'pause'} and not exists $declarations{'event'}
1463 307 8 0 defined $blessing and substr($subgrammar, 0, 1) eq 'l'
1911 1665 178 2 $earlier_xrl and $earlier_xrl->{'precedence_count'} > 1 || $new_xrl->{'precedence_count'} > 1

or 2 conditions

line l !l condition
206 89 804 $declarations->{$lexeme} //= {}
718 1434 0 $parse->{'rules'}{$subgrammar} //= []
982 19 86 $assoc //= 'L'
1485 49 11 $parse->{'completion_events'} //= {}
1503 40 6 $parse->{'nulled_events'} //= {}
1522 47 8 $parse->{'prediction_events'} //= {}
1798 1463 282 $parse->{'character_classes'} //= {}
1906 1434 411 $new_xrl->{'precedence_count'} //= 1
1973 3928 0 $subgrammar //= 'g1'
1975 2147 1781 $args->{'subkey'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
119 114 166 0 $hashed_ast->{'start_lhs'} // $hashed_ast->{'first_lhs'}
296 10 2192 0 $naming //= $original_lhs
711 532 228 0 $parse->{'first_lhs'} //= $lhs
813 204 334 1149 $action //= $default_adverbs->{'action'}
821 51 0 1636 $rank //= $default_adverbs->{'rank'}
829 2 0 1685 $null_ranking //= $default_adverbs->{'null_ranking'}
837 48 8 1631 $blessing //= $default_adverbs->{'bless'}
984 29 70 6 $action //= $default_adverbs->{'action'}
992 0 0 105 $null_ranking //= $default_adverbs->{'null_ranking'}
1000 0 0 105 $rank //= $default_adverbs->{'rank'}
1008 50 16 39 $blessing //= $default_adverbs->{'bless'}
1084 79 16 0 $parse->{'first_lhs'} //= $lhs
1137 30 34 31 $action //= $default_adverbs->{'action'}
1145 0 0 95 $null_ranking //= $default_adverbs->{'null_ranking'}
1153 0 0 95 $rank //= $default_adverbs->{'rank'}
1161 0 0 95 $blessing //= $default_adverbs->{'bless'}
1365 51 40 0 $parse->{'first_lhs'} //= $lhs_name
1438 44 32 239 $action //= $default_adverbs->{'action'}
1446 0 0 315 $null_ranking //= $default_adverbs->{'null_ranking'}
1454 0 0 315 $rank //= $default_adverbs->{'rank'}
1462 4 4 307 $blessing //= $default_adverbs->{'bless'}
1911 2 1 177 $earlier_xrl->{'precedence_count'} > 1 || $new_xrl->{'precedence_count'} > 1
1974 0 3928 0 $args->{'subgrammar'} //= $subgrammar