Branch Coverage

blib/lib/Text/Amuse/Compile/Fonts.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
188 1 2 if $_->is_serif
193 1 2 if $_->is_sans
198 1 2 if $_->is_mono
203 0 840 unless $slot and $babel_lang
204 279 561 if ($slot eq "main")
209 2156 37669 if $_->type eq $slot and $_->has_languages
217 19 1000 if ($arg)
218 15 4 if (my $ref = ref $arg) { }
219 15 0 if ($ref eq 'ARRAY') { }
228 0 4 unless open my $fh, "<", $arg
234 0 4 if ($@)
244 51058 0 if ($font->{'name'} and $font->{'type'})
247 143 204085 if (my $file = delete $font->{$type})