blib/lib/NumSeq/Iter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 24 | 95.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 24 | 41 | 1 | $1 and not @nums |
100 | 7 | 8 | 3 | $inc >= 0 and $cur > $last_num |
8 | 5 | 2 | $inc < 0 and $cur < $last_num | |
109 | 5 | 4 | 2 | $inc >= 1 and $cur > $last_num |
4 | 3 | 2 | $inc < 1 and $cur < $last_num |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 29 | 15 | 0 | $cur //= $nums[-1] |
100 | 3 | 2 | 13 | $inc >= 0 and $cur > $last_num or $inc < 0 and $cur < $last_num |
109 | 2 | 2 | 7 | $inc >= 1 and $cur > $last_num or $inc < 1 and $cur < $last_num |