Condition Coverage

blib/lib/Marpa/R3/SLG.pm
Criterion Covered Total %
condition 39 65 60.0


and 3 conditions

line !l l&&!r l&&r condition
953 1413 0 10456 '[' eq substr($semantics, 0, 1) and ']' eq substr($semantics, -1, 1)
1264 7597 4871 1622 $semantics eq '::!default' and $blessing eq '::undef'
1309 23961 31 345 defined $closure and ref $closure eq 'CODE'
1348 269 0 76 defined $nulling_symbol_id and defined $irlid
1364 11838 7597 4871 defined $lexeme_id and $semantics eq '::value'
1837 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'
676 1930 0 $args->{'handlers'} // {}
678 1930 0 $args->{'signature'} // ''
679 1930 0 $args->{'args'} // []
702 2394 0 $yield_data //= []
854 1 12 $options //= {}
928 0 366 $slg->[7] // 0
1653 0 366 $slg->[7] // 0
1662 0 0 $resolve_error // 'Failed to resolve action'
1904 1 0 $resolve_error // 'Failed to resolve action'
1991 0 365 $slg->[7] // 0

or 3 conditions

line l !l&&r !l&&!r condition
408 2 0 6 $args[$_] //= $defaults[$_]
1116 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
1546 11309 7617 0 $result_descriptor eq 'values' or $result_descriptor eq 'value'
1671 11494 375 0 $rule_resolution //= $default_action_resolution
1794 662 10456 346 substr($closure_name, 0, 2) eq '::' or substr($closure_name, 0, 1) eq '['
1858 0 1 0 $trace_actions or defined $p_error