Branch Coverage

blib/lib/Algorithm/CheckDigits/M11_007.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
25 2 0 if ($number =~ /^(\d{7})(\d)$/)
33 1 0 if ($number =~ /^(\d{7})$/)
41 1 0 if ($number =~ /^(\d{7})(\d)$/)
42 1 0 if $2 eq $self->_compute_checkdigits($1)
49 1 0 if ($number =~ /^(\d{7})(\d)$/)
50 1 0 if $2 eq $self->_compute_checkdigits($1)
64 0 5 $sum == 1 ? :
5 0 $sum ? :