Condition Coverage

blib/lib/PDF/API3/Compat/API2/Basic/TTF/Font.pm
Criterion Covered Total %
condition 1 33 3.0


and 2 conditions

line l !l condition
351 0 0 $$self{' PARENT'}->find($self, $name, $check, $off, $len) && (next)

and 3 conditions

line !l l&&!r l&&r condition
416 0 0 0 length $_ == 4 && defined $$self{$_}
422 0 0 0 length $_ == 4 && defined $$self{$_}
546 0 0 0 length $_ == 4 && defined $$self{$_}
607 0 0 0 $tag eq 'table' and $attrs{'name'} eq 'loca'
608 0 0 0 defined $$context{'glyphs'} and $$context{'glyphs'} ne $$self{'loca'}{'glyphs'}

or 2 conditions

line l !l condition
231 0 1 $PDF::API3::Compat::API2::Basic::TTF::Font::dumper ||= 'dumpvar.pl'
353 0 0 $PDF::API3::Compat::API2::Basic::TTF::Font::tables{$name} || 'PDF::API3::Compat::API2::Basic::TTF::Table'
401 0 0 'IO::File'->new("+>$fname") || (return warn("Unable to open $fname for writing"), undef)
538 0 0 'IO::File'->new("+>$fname") || (return warn("Unable to open $fname"), undef)
586 0 0 $PDF::API3::Compat::API2::Basic::TTF::Font::tables{$name} || 'PDF::API3::Compat::API2::Basic::TTF::Table'

or 3 conditions

line l !l&&r !l&&!r condition
342 0 0 0 $ver == 65536 or $ver == 1953658213
0 0 0 $ver == 65536 or $ver == 1953658213 or $ver == 1330926671