Branch Coverage

blib/lib/Text/Amuse/Compile/Fonts/Selected.pm
Criterion Covered Total %
branch 35 42 83.3


line true false branch
131 248 9 unless ($args{'is_slide'})
139 3 254 unless $args{'others'}
142 252 5 unless ($self->luatex)
143 2 250 $args{'main_is_rtl'} ? :
145 11 246 $args{'bidi'} ? :
147 238 19 if (Text::Amuse::Utils::has_babel_ldf($main_lang)) { }
149 3 235 unless $args{'others'}
8 230 if (grep {not Text::Amuse::Utils::has_babel_ldf($_);} @{[] unless $args{'others'};}) { }
167 286 572 $slot eq 'main' ? :
168 771 87 if ($lang eq $main_lang) { }
190 3 254 if ($cjk{$main_lang})
206 0 257 if (my $custom = $args{'captions'})
207 0 0 if (my $base = delete $custom->{'_base_'})
213 2 255 if ($args{'has_ruby'})
235 1 2 $slot eq 'main' ? :
239 3 0 if ($font->has_files)
246 3 0 if ($font->regular->dirname =~ m[\A([A-Za-z0-9\./_-]+)\z]) { }
275 0 6 unless my $def = $self->definitions->{$slot}
280 28 2 if (my $v = $def->{'attr'}{$att})
295 15 852 if (my(@language_specific) = $self->all_fonts->fonts_for_language($slot, $lang))
297 15 0 unless ($font->for_babel_language($lang))