Branch Coverage

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


line true false branch
29 2 0 if ($number =~ /^(\d{6})?(\d\d)$/i)
37 1 0 if ($number =~ /^(\d{6})$/i)
45 1 0 if ($number =~ /^(\d{6})(\d\d)$/i)
46 1 0 if $2 eq $self->_compute_checkdigit($1)
53 1 0 if ($number =~ /^(\d{6})(\d\d)$/i)
54 1 0 if uc $2 eq $self->_compute_checkdigit($1)
63 5 0 if ($number =~ /^\d{6}$/i)