Branch Coverage

blib/lib/Font/TTF/Table.pm
Criterion Covered Total %
branch 14 58 24.1


line true false branch
109 2 32 if ref $self eq 'Font::TTF::Table'
110 12 20 if $$self{' read'}
112 8 12 if (0 < $$self{' ZLENGTH'} and $$self{' ZLENGTH'} < $$self{' LENGTH'})
115 0 8 unless $havezlib
120 0 8 if $$self{' LENGTH'} != &bytes::length($dat)
143 0 8 if $$self{' read'}
146 2 6 if (0 < $$self{' ZLENGTH'} and $$self{' ZLENGTH'} < $$self{' LENGTH'}) { }
149 0 2 unless $havezlib
153 0 2 if $$self{' LENGTH'} != &bytes::length($dat)
176 8 0 if (defined $$self{' dat'})
182 0 0 unless defined $$self{' INFILE'}
184 0 0 if (0 < $$self{' ZLENGTH'} and $$self{' ZLENGTH'} < $$self{' LENGTH'})
201 0 0 $len > 4096 ? :
222 0 0 if (ref $self eq 'Font::TTF::Table') { }
251 0 0 unless defined $dat
253 0 0 unless (ref $dat)
259 0 0 if ($ind) { }
265 0 0 if (ref $dat eq 'SCALAR') { }
0 0 elsif (ref $dat eq 'ARRAY') { }
0 0 elsif (ref $dat eq 'HASH') { }
301 0 0 unless $tag eq 'data'
304 0 0 if (defined $attrs{'addr'}) { }
337 0 0 defined $val ? :
358 0 0 if ($$self{' isDirty'}) { }
383 0 0 unless $keep{$_}
421 0 0 if (UNIVERSAL::can($item, 'release')) { }
0 0 elsif ($ref eq 'ARRAY') { }
0 0 elsif (UNIVERSAL::isa($ref, 'HASH')) { }
439 0 0 $key eq ' PARENT' ? :