Branch Coverage

blib/lib/PDF/Builder/Resource/CIDFont/CJKFont.pm
Criterion Covered Total %
branch 12 36 33.3


line true false branch
55 1 0 if defined $PDF::Builder::Resource::CIDFont::CJKFont::alias->{$fname}
56 0 1 if defined $PDF::Builder::Resource::CIDFont::CJKFont::fonts->{$fname}
58 0 1 if (defined $PDF::Builder::Resource::CIDFont::CJKFont::subs->{$fname})
61 0 0 if $k =~ /^\-/
62 0 0 if (substr($k, 0, 1) eq '+') { }
73 0 1 if ($@) { }
86 0 1 if defined $PDF::Builder::Resource::CIDFont::CJKFont::cmap->{$fname}
88 0 1 if ($@) { }
101 1 0 if scalar(@opts) % 2 == 0
103 0 1 if (defined $opts{'-encode'} and not defined $opts{'encode'})
113 0 1 if ref $class
117 0 1 if defined $pdf and not $self->is_obj($pdf)
121 0 1 if (defined $opts{'encode'} and $opts{'encode'} ne "ident")
134 1 0 if (defined $cmap->{'ccs'})
197 0 0 if (ref $self->data->{'wx'} eq 'ARRAY' and defined $self->data->{'wx'}[$i] and $self->data->{'wx'}[$i] != $self->missingwidth) { }
0 0 elsif (ref $self->data->{'wx'} eq 'HASH' and defined $self->data->{'wx'}{$i} and $self->data->{'wx'}{$i} != $self->missingwidth) { }
200 0 0 if ($notdefbefore)
209 0 0 if ($notdefbefore)