Branch Coverage

blib/lib/Algorithm/CheckDigits/M11_011.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
23 4 0 if ($number =~ /^([0-9]+)(\d)(B\d\d)?$/i)
31 2 0 if ($number =~ /^([0-9]+)(?:.(B\d\d))?$/ and (my $cd = $self->_compute_checkdigits($1)) ne '')
41 2 0 if ($number =~ /^([0-9]+)(\d)(B\d\d)?$/i)
42 1 1 $3 ? :
43 2 0 if $2 == $self->_compute_checkdigits($1)
50 2 0 if ($number =~ /^([0-9]+)(\d)(B\d\d)?$/)
51 2 0 if $2 == $self->_compute_checkdigits($1)
69 0 10 $sum == 10 ? :