blib/lib/Nanoid.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 8 | 87.5 |
line | true | false | branch |
---|---|---|---|
27 | 1 | 100005 | if ($size <= 0) |
31 | 1 | 100004 | if ($alphabet_size == 0 or $alphabet_size > 255) |
49 | 2100052 | 0 | if (defined $alphabet_array[$byte]) |
52 | 100004 | 2000048 | if (length $id == $size) |