Branch Coverage

blib/lib/Tree/Range/base.pm
Criterion Covered Total %
branch 59 74 79.7


line true false branch
37 109 0 defined $a ? :
52 34 88 if $c > 0
57 16 72 if $c >= 0
63 0 72 unless $obj->delete($k)
74 478 66 defined $left ? :
79 529 15 unless wantarray
81 5 10 unless (defined $left)
85 1 4 defined $right ? :
92 9 1 defined $right ? :
101 0 8 unless &$cmp($upper, $lower) > 0
109 4 4 unless defined $right
112 3 1 if &$cmp($upper, $right->key) == 0
116 1 3 unless defined $right
124 2 1 unless safe_eq($r, $lm) or &$eq_u($r, $lm)
141 2 8 unless defined $cur
145 6 2 defined $next ? :
8 0 wantarray ? :
155 1 1 if (defined $may_be_key) { }
167 1 0 defined $n ? :
1 0 wantarray ? :
181 2 9 unless defined $cur
185 7 2 defined $prev ? :
0 0 defined $prev ? :
9 0 wantarray ? :
199 1 1 if (defined $may_be_key) { }
203 1 0 if defined $n and $self->cmp_fn->($may_be_key, $n->key) == 0
219 1 0 defined $n ? :
0 0 defined $n ? :
1 0 wantarray ? :
237 2 2 $may_be_reverse_p ? :
19 4 defined $fn ? :
249 0 58 unless &$cmp($high, $low) > 0
259 5 53 if (not defined $left) { }
268 47 6 defined $pre ? :
275 36 17 defined $last_ref ? :
288 52 1 if (not $eq_l) { }
294 52 1 if (not $eq_h) { }