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 112 $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 696 573 0 substr($subgrammar, 0, 1) eq "L" and grep {not $_;} @mask
701 1235 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 937 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 1059 194 $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 919 0 $naming //= $original_lhs
590 385 157 0 $parse->{'first_lhs'} //= $lhs
676 141 268 860 $action //= $default_adverbs->{'action'}
684 45 0 1224 $rank //= $default_adverbs->{'rank'}
692 2 0 1267 $null_ranking //= $default_adverbs->{'null_ranking'}
700 26 8 1235 $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'}