blib/lib/Algorithm/CheckDigits/MBase_003.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
47 | 2 | 0 | if ($number =~ /^(.*)(.)$/) |
55 | 1 | 0 | if ($number =~ /^(.*)$/) |
64 | 1 | 0 | if ($number =~ /^(.*)(.)$/) |
65 | 1 | 0 | if $2 eq $self->_compute_checkdigits($1) |
72 | 1 | 0 | if ($number =~ /^(.*)(.)$/) |
73 | 1 | 0 | if $2 eq $self->_compute_checkdigits($1) |
90 | 125 | 50 | if (uc($digits[$i]) =~ /[0-9A-Z]/) { } |
95 | 90 | 85 | unless $even |
96 | 85 | 90 | if $even |