Branch Coverage

blib/lib/PDF/API3/Compat/API2/Resource/Font/CoreFont.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
109 0 0 if (not $@) { }
117 0 0 unless defined $$fonts{$fname}{'uni'}[$n]
134 0 0 if (not ref $this) { }
0 0 elsif (ref $this eq 'ARRAY') { }
0 0 elsif (ref $this eq 'HASH') { }
0 0 elsif (ref $this eq 'CODE') { }
164 0 0 if -f $fpath
177 0 0 if -f $fpath
188 0 0 if (-f $name)
195 0 0 if scalar(@opts) % 2 == 0
198 0 0 defined $$alias{$lookname} ? :
200 0 0 if (defined $$subs{$lookname}) { }
205 0 0 if $k =~ /^\-/
211 0 0 if (not defined $opts{-'metrics'}) { }
221 0 0 unless $$data{'fontname'}
241 0 0 if ref $class
243 0 0 unless $self->is_obj($pdf)
245 0 0 if $opts{-'dokern'}
249 0 0 if ($opts{-'pdfname'})
254 0 0 unless ($self->data->{'iscore'})
277 0 0 unless $obj->is_obj($$api{'pdf'})