Condition Coverage

blib/lib/Marpa/R2/MetaAST.pm
Criterion Covered Total %
condition 68 105 64.7


and 3 conditions

line !l l&&!r l&&r condition
468 8 0 108 $key eq "action" and $subgrammar eq "G1"
472 0 0 8 $key eq "bless" and $subgrammar eq "G1"
500 0 0 27 $key eq "event" and defined $value
628 658 573 0 substr($subgrammar, 0, 1) eq "L" and grep {not $_;} @mask
701 1197 34 0 defined $blessing and substr($subgrammar, 0, 1) eq "L"
780 114 0 0 substr($subgrammar, 0, 1) eq "L" and grep {not $_;} @mask
854 55 59 0 defined $blessing and substr($subgrammar, 0, 1) eq "L"
1005 62 0 0 defined $blessing and substr($subgrammar, 0, 1) eq "L"
1070 14 49 0 exists $declarations{'event'} and not exists $declarations{'pause'}
1298 187 7 0 defined $blessing and substr($subgrammar, 0, 1) eq "L"

or 2 conditions

line l !l condition
597 899 72 $parse->{'rules'}{$subgrammar} //= []
827 21 93 $assoc //= "L"
1317 45 9 $parse->{'completion_events'} //= {}
1335 40 6 $parse->{'nulled_events'} //= {}
1354 45 7 $parse->{'prediction_events'} //= {}
1657 1057 190 $parse->{'character_classes'} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
120 0 0 0 $ast->{'start_lhs'} // $ast->{'first_lhs'}
149 5 881 0 $naming //= $original_lhs
590 351 153 0 $parse->{'first_lhs'} //= $lhs
676 127 244 860 $action //= $default_adverbs->{'action'}
684 33 0 1198 $rank //= $default_adverbs->{'rank'}
692 2 0 1229 $null_ranking //= $default_adverbs->{'null_ranking'}
700 26 8 1197 $blessing //= $default_adverbs->{'bless'}
829 44 63 7 $action //= $default_adverbs->{'action'}
837 0 0 114 $null_ranking //= $default_adverbs->{'null_ranking'}
845 0 0 114 $rank //= $default_adverbs->{'rank'}
853 43 16 55 $blessing //= $default_adverbs->{'bless'}
938 44 17 0 $parse->{'first_lhs'} //= $lhs
980 8 25 29 $action //= $default_adverbs->{'action'}
988 0 0 62 $null_ranking //= $default_adverbs->{'null_ranking'}
996 0 0 62 $rank //= $default_adverbs->{'rank'}
1004 0 0 62 $blessing //= $default_adverbs->{'bless'}
1209 24 29 0 $parse->{'first_lhs'} //= $lhs_name
1273 20 21 153 $action //= $default_adverbs->{'action'}
1281 0 0 194 $null_ranking //= $default_adverbs->{'null_ranking'}
1289 0 0 194 $rank //= $default_adverbs->{'rank'}
1297 3 4 187 $blessing //= $default_adverbs->{'bless'}