blib/lib/Array/IntSpan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 42 | 48 | 87.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
162 | 15 | 7 | 4 | defined $filler and $start_offset < 0 |
242 | 4 | 4 | 6 | defined $end_offset and $end_offset >= 0 |
291 | 31 | 5 | 9 | $$self[$i][2] eq $$self[$i - 1][2] and $$self[$i][0] == $$self[$i - 1][1] + 1 |
380 | 7 | 9 | 24 | defined $end_offset and $end_offset >= 0 |
16 | 13 | 11 | defined $end_offset and $end_offset >= 0 and $end_elem < $$self[$end][1] | |
391 | 7 | 9 | 24 | defined $end_offset && $end_offset >= 0 |
411 | 0 | 0 | 6 | $$self[$start][0] <= $key and $$self[$start][1] >= $key |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
73 | 5 | 2 | 0 | @_ == 3 or @_ == 4 |
80 | 5 | 2 | 0 | not defined $_[3] or ref $_[3] eq 'CODE' |
127 | 1 | 4 | 27 | $end_range < 0 or $$self[$end_range][1] < $start_elem |
231 | 1 | 2 | 4 | !defined($end_offset) || $end_offset < 0 |
284 | 1 | 1 | 12 | not defined $bottom or $bottom < 0 |
285 | 1 | 5 | 8 | not defined $top or $top > $#$self |
307 | 10 | 3 | 0 | @_ == 3 or @_ == 5 |
313 | 10 | 3 | 0 | not defined $_[3] or ref $_[3] eq 'CODE' |
339 | 2 | 5 | 41 | $end_range < 0 or $$self[$end_range][1] < $start_elem |