Branch Coverage

blib/lib/Data/MultiValued/RangeContainer.pm
Criterion Covered Total %
branch 32 40 80.0


line true false branch
39 32 99 unless ($range)
53 29 48 $sa ? :
54 27 53 $sb ? :
65 134 131 if _cmp($$slot{'to'}, $at, 1, 0) <= 0
66 25 106 if _cmp($$slot{'from'}, $at, 0, 0) > 0
87 15 28 if (_cmp($st, $from, 1, 0) < 0) { }
11 17 elsif (_cmp($sf, $to, 0, 1) >= 0) { }
107 0 39 if _cmp($from, $to, 0, 1) > 0
114 0 7 if ($range and _cmp($$range{'from'}, $from, 0, 0) == 0 and _cmp($$range{'to'}, $to, 1, 1) == 0)
131 0 5 if _cmp($from, $to, 0, 1) > 0
164 21 23 unless (@{$self->_storage;})
165 21 0 if $new
171 0 12 unless (@$before or @$overlap)
173 0 0 if $new
176 7 9 unless (@$after or @$overlap)
178 7 0 if $new
188 11 5 $new ? :
190 14 2 if ($how_many > 0) { }
199 7 7 if (_cmp($$first{'from'}, $from, 0, 0) < 0 and _cmp($$first{'to'}, $from, 1, 0) >= 0)
208 5 9 if (_cmp($$last{'from'}, $to, 0, 1) <= 0 and _cmp($$last{'to'}, $to, 1, 1) > 0)