Condition Coverage

blib/lib/Imager/Barcode128.pm
Criterion Covered Total %
condition 8 15 53.3


and 3 conditions

line !l l&&!r l&&r condition
274 2 0 0 defined $preferred_code and not exists $CODE{$preferred_code}
282 4 0 0 defined $preferred_code and $preferred_code
4 0 0 defined $preferred_code and $preferred_code and @chars = _encodable($preferred_code, $text)
333 9 8 6 $code eq 'C' and $string =~ s/^(\d\d)//
336 8 35 0 $code ne 'C' and $string =~ /^\d\d\d\d\d\d/