Branch Coverage

blib/lib/HarfBuzz/Shaper.pm
Criterion Covered Total %
branch 15 40 37.5


line true false branch
97 0 3 if ($opts->{'font'})
100 0 3 if ($opts->{'size'})
120 0 0 if ($full)
122 0 0 unless /^(font|face)_/
149 0 3 unless (defined $fontfile or defined $size)
155 0 3 unless -s -r $fontfile
164 0 3 if $size
185 0 3 unless (defined $size)
209 0 3 unless (@_ > 1 and defined $text[0])
235 1 0 if @_ and defined $_[0]
268 0 0 unless (defined $lang)
309 0 0 unless (defined $script)
350 0 0 unless (defined $dir)
405 0 5 unless $self->{'font'}
406 0 5 unless $self->{'size'}
407 0 5 unless defined $self->{'text'}
410 1 4 if ($fp)
412 0 1 if ('none' eq lc $feature)
425 15 0 unless $self->{$_}
429 0 0 unless &$action($self->{'buffer'}, $self->{$_})