Branch Coverage

blib/lib/Algorithm/CheckDigits/M10_010.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
25 2 0 if ($number =~ /^(\d\d-?\d{8})-?(\d)$/)
33 1 0 if ($number =~ /^\d\d-?\d{8}-?$/)
41 1 0 if ($number =~ /^(\d\d-?\d{8}-?)(\d)$/)
42 1 0 if $2 == $self->_compute_checkdigit($1)
49 1 0 if ($number =~ /^(\d\d-?\d{8})-?(\d)$/)
50 1 0 if $2 == $self->_compute_checkdigit($1)
59 5 0 if ($number =~ /^\d\d-?\d{8}-?$/)