Branch Coverage

blib/lib/PDF/API3/Compat/API2/Basic/TTF/Font.pm
Criterion Covered Total %
branch 1 80 1.2


line true false branch
225 0 12 if (-f "$p/mydumpvar.pl")
310 0 0 if (not ref $fname) { }
312 0 0 unless $fh = 'IO::File'->new($fname)
342 0 0 unless $ver == 65536 or $ver == 1953658213 or $ver == 1330926671
349 0 0 unless $fh->read($dat, 16)
351 0 0 if defined $$self{' PARENT'}
355 0 0 if ($^O eq 'MacOS') { }
369 0 0 if defined $$self{$t}
399 0 0 if (not ref $fname) { }
409 0 0 if ($$self{' wantsig'}) { }
0 0 elsif ($#tlist < 0) { }
416 0 0 if $#tlist < 0
424 0 0 if $$self{' wantsig'}
438 0 0 if $$self{' wantsig'}
441 0 0 if ($loc & 3)
453 0 0 if ($loc & 3)
462 0 0 $mloc - $oldloc > 4096 ? :
466 0 0 if ($csum > 4294967295)
471 0 0 if ($msum > 4294967295)
475 0 0 if (not $$self{' nocsum'}) { }
0 0 elsif ($$self{' wantsig'}) { }
478 0 0 unless (defined $dir{'head'})
487 0 0 if ($lsum != 0)
490 0 0 if ($csum < 0)
500 0 0 unless (defined $dir{'head'})
512 0 0 if ($$self{' wantsig'})
517 0 0 if $$self{' wantsig'}
536 0 0 if (not ref $fname) { }
543 0 0 unless (scalar @tlist > 0)
579 0 0 if ($tag eq 'font') { }
0 0 elsif ($tag eq 'table') { }
584 0 0 unless (defined $$self{$name})
588 0 0 if ($^O eq 'MacOS') { }
607 0 0 unless $tag eq 'table' and $attrs{'name'} eq 'loca'
608 0 0 if (defined $$context{'glyphs'} and $$context{'glyphs'} ne $$self{'loca'}{'glyphs'})
611 0 0 if defined $$context{'glyphs'}[$i]
689 0 0 unless ref $self
697 0 0 if (UNIVERSAL::can($item, 'release')) { }
0 0 elsif ($ref eq 'ARRAY') { }
0 0 elsif (UNIVERSAL::isa($ref, 'HASH')) { }