Branch Coverage

blib/lib/PDF/API2/Resource/XObject/Form/BarCode.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
89 18 12 if (ref $set) { }
103 115 57 if ($bar =~ /[0-9]/) { }
57 0 elsif ($bar =~ /[a-z]/) { }
0 0 elsif ($bar =~ /[A-Z]/) { }
107 0 115 if ($self->{' fnsz'} and $self->{' lmzn'} < $self->{' fnsz'})
131 86 86 unless ($is_space_next or $bar eq 0)
142 1 17 if (defined $label and $self->{' lmzn'})
156 0 6 if (defined $caption)