blib/lib/Algorithm/CheckDigits/M11_012.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 16 | 43.7 |
line | true | false | branch |
---|---|---|---|
34 | 2 | 0 | if ($number =~ /^([-0-9a-z]+)(\d)$/i) |
42 | 1 | 0 | if ($number =~ /^([-0-9a-z]+)$/i and (my $cd = $self->_compute_checkdigits($1)) ne '') |
51 | 1 | 0 | if ($number =~ /^([-0-9a-z]+)(\d)$/i) |
52 | 1 | 0 | if $2 == $self->_compute_checkdigits($1) |
59 | 1 | 0 | if ($number =~ /^([-0-9a-z]+)(\d)$/i) |
60 | 1 | 0 | if $2 == $self->_compute_checkdigits($1) |
78 | 0 | 0 | $sum == 1 ? : |
5 | 0 | $sum == 0 ? : |