Condition Coverage

blib/lib/Tree/Ops.pm
Criterion Covered Total %
condition 28 40 70.0


and 3 conditions

line !l l&&!r l&&r condition
171 0 0 5 @f and @s
0 2 3 @f and @s and $f[-1] == $s[-1]
469 2 0 12 @f and @s
2 2 10 @f and @s and $f[-1] == $s[-1]
482 0 2 12 @f and @s
2 2 10 @f and @s and $f[-1] == $s[-1]
483 0 2 2 @f and @s
535 0 1 1 @c and $c[0] != $start
536 0 1 1 @c and $c[-1] != $finish

or 2 conditions

line l !l condition
371 2 22 $sub //= sub { @_; }
652 0 7 $separator // ''

or 3 conditions

line l !l&&r !l&&!r condition
117 0 1 49 @$c == 0 or $c->[-1] == $child
125 0 1 55 @$c == 0 or $c->[0] == $child
548 0 1 1 not @p or $p[-1] == $ancestor