blib/lib/Algorithm/CheckDigits/M23_002.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 16 | 62.5 |
line | true | false | branch |
---|---|---|---|
29 | 24 | 0 | if ($number =~ /^(\d{7})([A-W])([A-IW])?$/i) |
37 | 6 | 0 | if ($number =~ /^(\d{7}).?([A-IW])?$/i) |
45 | 6 | 0 | if ($number =~ /^(\d{7})([A-W])([A-IW])?$/i) |
46 | 6 | 0 | if (uc $2 eq $self->_compute_checkdigit($1, $3)) |
47 | 3 | 3 | $3 ? : |
55 | 6 | 0 | if ($number =~ /^(\d{7})([A-W])([A-IW])?$/i) |
56 | 6 | 0 | if uc $2 eq $self->_compute_checkdigit($1, $3) |
69 | 7 | 35 | if ($optional and $optional =~ /[A-I]/i) |