blib/lib/Number/Rangify.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 8 | 87.5 |
line | true | false | branch |
---|---|---|---|
21 | 8 | 58 | if $val >= $$range[0] and $val <= $$range[1] |
24 | 0 | 58 | if ($val == $$range[0] - 1) { } |
8 | 50 | elsif ($val == $$range[1] + 1) { } | |
37 | 1 | 1 | wantarray ? : |