Branch Coverage

blib/lib/PDF/API2/Resource/CIDFont/CJKFont.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
104 1 0 if defined $PDF::API2::Resource::CIDFont::CJKFont::alias->{$fname}
105 0 1 if defined $PDF::API2::Resource::CIDFont::CJKFont::fonts->{$fname}
107 0 1 if (defined $PDF::API2::Resource::CIDFont::CJKFont::subs->{$fname})
110 0 0 if $k =~ /^\-/
111 0 0 if (substr($k, 0, 1) eq '+') { }
123 0 1 if ($@) { }
135 0 1 if defined $PDF::API2::Resource::CIDFont::CJKFont::cmap->{$filename}
137 0 1 if ($@) { }
156 0 1 if ref $class
159 0 1 if defined $pdf and not $self->is_obj($pdf)
163 0 1 if (defined $opts{'-encode'} and $opts{'-encode'} ne "ident")
176 1 0 if (defined $cmap->{'ccs'})
236 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) { }
240 0 0 if ($notdefbefore)
251 0 0 if ($notdefbefore)