| blib/lib/Crypt/URandom/Token.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 99 | 1 | 5 | if (@args == 1 and ref $args[0] eq "HASH") |
| 115 | 5 | 13 | if (ref $in eq 'ARRAY') { } |
| 7 | 6 | elsif (defined $in and not ref $in) { } | |
| 123 | 2 | 16 | unless (@alphabet >= 2 and @alphabet <= 256) |
| 134 | 0 | 16 | unless ($length > 0) |
| 142 | 64692 | 2005150 | unless @bytes |
| 144 | 65154 | 2004688 | if $num < $bias_lim |