Branch Coverage

blib/lib/PDF/Builder/Resource/XObject/Form/BarCode.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
31 1 5 if (defined $options{'-font'} and not defined $options{'font'})
32 1 5 if (defined $options{'-umzn'} and not defined $options{'umzn'})
33 1 5 if (defined $options{'-lmzn'} and not defined $options{'lmzn'})
34 1 5 if (defined $options{'-zone'} and not defined $options{'zone'})
35 0 6 if (defined $options{'-quzn'} and not defined $options{'quzn'})
36 0 6 if (defined $options{'-ofwt'} and not defined $options{'ofwt'})
37 1 5 if (defined $options{'-fnsz'} and not defined $options{'fnsz'})
38 0 6 if (defined $options{'-spcr'} and not defined $options{'spcr'})
39 0 6 if (defined $options{'-mils'} and not defined $options{'mils'})
40 0 6 if (defined $options{'-color'} and not defined $options{'color'})
103 18 12 if (ref $set) { }
116 115 57 if ($bar =~ /[0-9]/) { }
57 0 elsif ($bar =~ /[a-z]/) { }
0 0 elsif ($bar =~ /[A-Z]/) { }
120 0 115 if ($self->{' fnsz'} and $self->{' lmzn'} < $self->{' fnsz'})
141 86 86 unless ($is_space_next or $bar eq 0)
152 1 17 if (defined $label and $self->{' lmzn'})
166 0 6 if (defined $caption)