Branch Coverage

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


line true false branch
23 5 0 if ($number =~ /^(?:BE)?(\d{7,8})?(\d\d)$/i)
31 3 0 if ($number =~ /^(?:BE)?(\d{7,8})$/i)
39 3 0 if ($number =~ /^(?:BE)?(\d{7,8})(\d\d)$/i)
40 3 0 if $2 eq $self->_compute_checkdigit($1)
47 3 0 if ($number =~ /^(?:BE)?(\d{7,8})(\d\d)$/i)
48 3 0 if uc $2 eq $self->_compute_checkdigit($1)
57 14 0 if ($number =~ /^\d{7,8}$/i)