| blib/lib/PDF/Builder/Resource/XObject/Form/BarCode.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 92 | 18 | 12 | if (ref $set) { } |
| 105 | 115 | 57 | if ($bar =~ /[0-9]/) { } |
| 57 | 0 | elsif ($bar =~ /[a-z]/) { } | |
| 0 | 0 | elsif ($bar =~ /[A-Z]/) { } | |
| 127 | 86 | 86 | unless ($is_space_next or $bar eq '0') |
| 138 | 1 | 17 | if (defined $label and $self->{' lmzn'}) |
| 152 | 0 | 6 | if (defined $caption) |