blib/lib/SerialNumber/Sequence.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 20 | 90.0 |
line | true | false | branch |
---|---|---|---|
18 | 2 | 24 | if (defined $prefix) |
27 | 2 | 16 | if (defined $length) |
40 | 3 | 2 | if ($item =~ /\-/) { } |
50 | 1 | 0 | wantarray ? : |
55 | 2 | 0 | ref $_[0] eq 'ARRAY' ? : |
62 | 2 | 20 | if (not defined $start) { } |
69 | 8 | 12 | if ($ln[$_] != $ln[$_ - 1] + 1) |
77 | 2 | 18 | if ($_ == $#ln) |
84 | 4 | 6 | $$_[0] == $$_[1] ? : |
115 | 6 | 10 | $opt{'without_prefix'} ? : |