blib/lib/IntRange/Iter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 22 | 90.9 |
line | true | false | branch |
---|---|---|---|
57 | 5 | 8 | ref $_[0] eq 'HASH' ? : |
62 | 0 | 13 | unless ($allow_dash or $allow_dotdot) |
65 | 3 | 10 | if ($allow_dash and $allow_dotdot) { } |
8 | 2 | elsif ($allow_dash) { } | |
2 | 0 | elsif ($allow_dotdot) { } | |
69 | 4 | 9 | unless ($intrange =~ /$re_a/x) |
75 | 9 | 5 | defined $1 ? : |
81 | 9 | 41 | if $cur_subrange > $#subranges |
83 | 36 | 5 | if (ref $subranges[$cur_subrange] eq 'ARRAY') { } |
84 | 9 | 27 | unless (defined $m) |
87 | 9 | 27 | if ($m > $n) { } |