blib/lib/Algorithm/CheckDigits/M11_010.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
25 | 2 | 0 | if ($number =~ /^([0-9.]+)(\d)$/) |
33 | 1 | 0 | if ($number =~ /^([0-9.]+)$/) |
41 | 1 | 0 | if ($number =~ /^([0-9.]+)(\d)$/) |
42 | 1 | 0 | if $2 == $self->_compute_checkdigits($1) |
49 | 1 | 0 | if ($number =~ /^([0-9.]+)(\d)$/) |
50 | 1 | 0 | if $2 == $self->_compute_checkdigits($1) |
67 | 0 | 5 | $sum == 1 ? : |
0 | 5 | $sum == 0 ? : |