| blib/lib/Math/Pandigital.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 22 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 41 | 16 | 2 | if ($self->base != 16) |
| 42 | 3 | 13 | if ($self->base <= 0 or $self->base > 10) |
| 46 | 1 | 14 | if $self->base == 1 and not $self->zeroless |
| 56 | 2 | 9 | if $base == 1 |
| 59 | 2 | 7 | $self->zeroless ? : |
| 62 | 1 | 8 | if $base == 16 |
| 73 | 5 | 6 | $self->unique ? : |
| 88 | 2 | 9 | if $self->base == 1 |
| 91 | 2 | 7 | $self->zeroless ? : |
| 99 | 8 | 12 | unless $value =~ $self->_digits_regexp |
| 106 | 1 | 101 | if ++$hash{$digit} > 1 and $unique |