Branch Coverage

blib/lib/PDF/API3/Compat/API2/Resource/UniFont.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
95 0 0 if ref $class
110 0 0 if (ref $font eq 'ARRAY') { }
0 0 elsif (ref $font eq 'HASH') { }
117 0 0 if (ref $r0) { }
134 0 0 if (defined $$font{'blocks'} and ref $$font{'blocks'} eq 'ARRAY')
138 0 0 if (ref $r0) { }
152 0 0 if (defined $$font{'codes'} and ref $$font{'codes'} eq 'ARRAY')
156 0 0 if (ref $r0) { }
183 0 0 if defined $opts{-'encode'}
214 0 0 unless is_utf8 $text
222 0 0 if (defined $$self{'code'}{$u}) { }
0 0 elsif (defined $$self{'block'}{$u >> 8}) { }
234 0 0 if (scalar @blks == 0 or $blks[-1][0] != $fn) { }
273 0 0 unless is_utf8 $text
274 0 0 unless defined $size
282 0 0 if (defined $$self{'code'}{$u}) { }
0 0 elsif (defined $$self{'block'}{$u >> 8}) { }
291 0 0 if ($thisfont != $lastfont and $lastfont != -1)
294 0 0 if (defined $ident and $ident != 0) { }
310 0 0 if (scalar @codes > 0)