blib/lib/Algorithm/CheckDigits/M11_013.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
23 | 2 | 0 | if ($number =~ /^([0-9]+)(\d)$/) |
31 | 1 | 0 | if ($number =~ /^([0-9]+)$/ and (my $cd = $self->_compute_checkdigits($1)) ne "") |
40 | 1 | 0 | if ($number =~ /^([0-9]+)(\d)$/) |
41 | 1 | 0 | if $2 == $self->_compute_checkdigits($1) |
48 | 1 | 0 | if ($number =~ /^([0-9]+)(\d)$/) |
49 | 1 | 0 | if $2 == $self->_compute_checkdigits($1) |
65 | 0 | 5 | $sum > 9 ? : |