Condition Coverage

blib/lib/Positron/DataTemplate.pm
Criterion Covered Total %
condition 40 69 57.9


and 3 conditions

line !l l&&!r l&&r condition
150 4 123 0 wantarray and $interpolate
127 0 0 wantarray and $interpolate and ref $return eq 'ARRAY'
305 1 3 0 $is_first_element and $1
308 1 2 0 $is_first_element and $1
313 1 5 0 $is_first_element and $1
339 3 6 0 $is_first_element and $1
349 5 0 0 ref $arg eq 'ARRAY' and $i
5 0 0 ref $arg eq 'HASH' and $i
366 2 3 6 ref $result eq 'ARRAY' and $i
3 2 0 ref $result eq 'HASH' and $i
381 274 0 38 $interpolate_next > 0 and @results
407 0 0 0 ref $result eq 'ARRAY' and $i
0 0 0 ref $result eq 'HASH' and $i
447 4 4 0 defined $e_content && $e_content =~ / \A \|/msx
448 4 0 4 defined $e_content and exists $$template{$$switch_construct[0]}{$qe_content}

or 2 conditions

line l !l condition
185 68 2 Positron::Expression::evaluate($1, $env) // ''
234 11 0 Positron::Expression::evaluate($1, $env) // ''
382 6 0 $results[0] // ''

or 3 conditions

line l !l&&r !l&&!r condition
179 0 0 3 $interpolate ||= $i
214 1 0 8 $interpolate ||= $i
223 3 2 7 $interpolate ||= $i
283 15 0 6 $cond or $has_else
292 2 0 18 $interpolate ||= $i
363 0 6 5 $i ||= $capturing_wrap_interpolates