| blib/lib/PDF/Builder/Resource/XObject/Form/BarCode/code128.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 20 | 45.0 |
| line | l | !l | condition |
|---|---|---|---|
| 168 | 0 | 16 | $character =~ /\d/ and scalar @characters |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 30 | 1 | 0 | 0 | defined $options{'-ean'} and not defined $options{'ean'} |
| 31 | 0 | 0 | 1 | defined $options{'-code'} and not defined $options{'code'} |
| 32 | 1 | 0 | 0 | defined $options{'-type'} and not defined $options{'type'} |
| 143 | 1 | 0 | 0 | $character =~ /[\xf2-\xf4]/ and $code eq "c" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 169 | 0 | 1 | 15 | $character =~ /^[^\d]*$/ or $character =~ /^\d[^\d]*$/ |
| 196 | 4 | 1 | 0 | $code ||= $string =~ /^\d{2,}$/ ? "c" : "b" |