blib/lib/Algorithm/CheckDigits/M11_002.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
23 | 2 | 0 | if ($number =~ /^(.+)(.)$/) |
31 | 1 | 0 | if ($number =~ /^[0-9]+$/) |
33 | 1 | 0 | unless 0 > $cd |
40 | 1 | 0 | if ($number =~ /^(.+)(.)$/) |
41 | 1 | 0 | if uc $2 eq $self->_compute_checkdigit($1) |
48 | 1 | 0 | if ($number =~ /^(.+)(.)$/) |
49 | 1 | 0 | if uc $2 eq $self->_compute_checkdigit($1) |
58 | 5 | 0 | if ($number =~ /^[-0-9]+$/) |
72 | 0 | 5 | 10 == $sum ? : |