Condition Coverage

blib/lib/Marpa/R3/SLG.pm
Criterion Covered Total %
condition 39 67 58.2


and 3 conditions

line !l l&&!r l&&r condition
968 1423 0 10777 '[' eq substr($semantics, 0, 1) and ']' eq substr($semantics, -1, 1)
1279 7830 5018 1635 $semantics eq '::!default' and $blessing eq '::undef'
1324 24672 31 345 defined $closure and ref $closure eq 'CODE'
1363 269 0 76 defined $nulling_symbol_id and defined $irlid
1379 12169 7830 5018 defined $lexeme_id and $semantics eq '::value'
1852 0 1 0 defined $closure and defined ${$closure;}

or 2 conditions

line l !l condition
185 4 0 $flat_args->{'exhaustion'} // ''
211 6 0 $flat_args->{'rejection'} // ''
244 18 0 $flat_args->{'ranking_method'} // 'undefined'
267 0 0 $flat_args->{'debug_level'} // 'undefined'
696 1957 0 $args->{'handlers'} // {}
698 1957 0 $args->{'signature'} // ''
699 1957 0 $args->{'args'} // []
722 8 0 $yield_data //= []
869 1 12 $options //= {}
943 0 373 $slg->[7] // 0
1668 0 373 $slg->[7] // 0
1677 0 0 $resolve_error // 'Failed to resolve action'
1919 1 0 $resolve_error // 'Failed to resolve action'
2006 0 372 $slg->[7] // 0

or 3 conditions

line l !l&&r !l&&!r condition
428 2 0 6 $args[$_] //= $defaults[$_]
1131 0 0 1 $first_closure_name ne $other_closure_name or $first_semantics ne $other_semantics
0 0 1 $first_closure_name ne $other_closure_name or $first_semantics ne $other_semantics or $first_blessing ne $other_blessing
1561 11624 7859 0 $result_descriptor eq 'values' or $result_descriptor eq 'value'
1686 11825 375 0 $rule_resolution //= $default_action_resolution
1809 672 10777 346 substr($closure_name, 0, 2) eq '::' or substr($closure_name, 0, 1) eq '['
1873 0 1 0 $trace_actions or defined $p_error