blib/lib/Nanoid.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
27 | 1 | 100005 | if ($size <= 0) |
31 | 1 | 100004 | if ($alphabet_size == 0 or $alphabet_size > 255) |
47 | 2100053 | 0 | if (defined $bytes->[$idx]) |
50 | 2100052 | 1 | if (defined $alphabet_array[$byte]) |
55 | 100004 | 2000049 | if (length $id == $size) |