Condition Coverage

blib/lib/Algorithm/CheckDigits/M11_011.pm
Criterion Covered Total %
condition 4 8 50.0


and 3 conditions

line !l l&&!r l&&r condition
31 0 0 2 $number =~ /^([0-9]+)(?:.(B\d\d))?$/ and (my $cd = $self->_compute_checkdigits($1)) ne ''

or 2 conditions

line l !l condition
33 1 1 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
15 0 2 0 ref $proto || $proto