blib/lib/Algorithm/CheckDigits/M11_006.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
25 | 2 | 0 | if ($number =~ /^(\d{4}-?\d{4})-?(\d\d)-?(\d{10})$/) |
33 | 1 | 0 | if ($number =~ /^(\d{4}-?\d{4})[-\s]+(\d{10})$/) |
43 | 1 | 0 | if ($number =~ /^(\d{4}-?\d{4})-?(\d\d)-?(\d{10})$/) |
44 | 1 | 0 | if $2 eq $self->_compute_checkdigits($1, $3) |
51 | 1 | 0 | if ($number =~ /^(\d{4}-?\d{4})-?(\d\d)-?(\d{10})$/) |
52 | 1 | 0 | if $2 eq $self->_compute_checkdigits($1, $3) |
71 | 10 | 0 | $sum ? : |