blib/lib/Array/IntSpan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 42 | 48 | 87.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
182 | 15 | 7 | 4 | defined $filler and $start_offset < 0 |
262 | 4 | 4 | 6 | defined $end_offset and $end_offset >= 0 |
311 | 31 | 5 | 9 | $$self[$i][2] eq $$self[$i - 1][2] and $$self[$i][0] == $$self[$i - 1][1] + 1 |
419 | 7 | 11 | 24 | defined $end_offset and $end_offset >= 0 |
18 | 13 | 11 | defined $end_offset and $end_offset >= 0 and $end_elem < $$self[$end][1] | |
430 | 7 | 11 | 24 | defined $end_offset && $end_offset >= 0 |
450 | 0 | 0 | 6 | $$self[$start][0] <= $key and $$self[$start][1] >= $key |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
93 | 9 | 2 | 0 | @_ == 3 or @_ == 4 |
100 | 9 | 2 | 0 | not defined $_[3] or ref $_[3] eq 'CODE' |
147 | 1 | 4 | 27 | $end_range < 0 or $$self[$end_range][1] < $start_elem |
251 | 1 | 2 | 4 | !defined($end_offset) || $end_offset < 0 |
304 | 1 | 1 | 12 | not defined $bottom or $bottom < 0 |
305 | 1 | 5 | 8 | not defined $top or $top > $#$self |
327 | 10 | 3 | 0 | @_ == 3 or @_ == 5 |
333 | 10 | 3 | 0 | not defined $_[3] or ref $_[3] eq 'CODE' |
378 | 3 | 5 | 44 | $end_range < 0 or $$self[$end_range][1] < $start_elem |