Condition Coverage

blib/lib/Tree/RB.pm
Criterion Covered Total %
condition 29 50 58.0


and 3 conditions

line !l l&&!r l&&r condition
83 7 0 3 @_ and exists $args{-'key'}
348 14 26 7 $x != $$self[0] and $$x[0][3] == 0
358 0 0 7 $y and $$y[3] == 0
388 4 2 1 $$z[1] and $$z[2]
459 1 4 1 $x != $$self[0] and color_of($x) == 1
479 0 0 1 color_of(&$child2($w)) == 1 and color_of(&$child1($w)) == 1

or 2 conditions

line l !l condition
38 12 0 shift() || 'min'
39 12 0 shift() || 'successor'
161 0 0 ref $cmp || 'undef'
192 25 26 shift() || 0
350 7 0 $$x[0] || 0
7 0 $$x[0][0][1] || 0
365 0 0 $$x[0][$child] || 0

or 3 conditions

line l !l&&r !l&&!r condition
204 0 0 30 $mode == 3 or $mode == 5
0 0 30 $mode == 4 or $mode == 6
224 8 2 8 $mode == 1 or $mode == 3
8 0 0 $mode == 2 or $mode == 4
258 0 0 8 $i < 0 or $i >= $$self[2]
409 2 2 3 $$y[1] || $$y[2]