Branch Coverage

blib/lib/HarfBuzz/Shaper.pm
Criterion Covered Total %
branch 17 44 38.6


line true false branch
97 0 4 if ($opts->{'font'})
100 0 4 if ($opts->{'size'})
120 0 0 if ($full)
122 0 0 unless /^(font|face)_/
150 0 4 unless (defined $fontfile or defined $size)
156 0 4 unless -s -r $fontfile
165 0 4 if $size
187 0 4 unless (defined $size)
212 0 4 unless (@_ > 1 and defined $text[0])
238 2 0 if @_ and defined $_[0]
273 0 0 unless (defined $lang)
315 0 0 unless (defined $script)
357 0 0 unless (defined $dir)
412 0 7 unless $self->{'font'}
413 0 7 unless $self->{'size'}
414 0 7 unless defined $self->{'text'}
417 2 5 if ($fp)
419 0 2 if ("none" eq lc $feature)
432 21 0 unless $self->{$_}
436 0 0 unless &$action($self->{'buffer'}, $self->{$_})
485 0 2 unless $self->{'shaped'}
521 0 2 unless $self->{'font'}