Branch Coverage

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


line true false branch
80 1 0 if defined $PDF::Builder::Resource::CIDFont::CJKFont::alias->{$fname}
81 0 1 if defined $PDF::Builder::Resource::CIDFont::CJKFont::fonts->{$fname}
83 0 1 if (defined $PDF::Builder::Resource::CIDFont::CJKFont::subs->{$fname})
86 0 0 if $k =~ /^\-/
87 0 0 if (substr($k, 0, 1) eq '+') { }
98 0 1 if ($@) { }
111 0 1 if defined $PDF::Builder::Resource::CIDFont::CJKFont::cmap->{$fname}
113 0 1 if ($@) { }
126 1 0 if scalar(@opts) % 2 == 0
128 0 1 if (defined $opts{'-encode'} and not defined $opts{'encode'})
138 0 1 if ref $class
142 0 1 if defined $pdf and not $self->is_obj($pdf)
146 0 1 if (defined $opts{'encode'} and $opts{'encode'} ne "ident")
159 1 0 if (defined $cmap->{'ccs'})
234 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) { }
237 0 0 if ($notdefbefore)
246 0 0 if ($notdefbefore)