Branch Coverage

blib/lib/Plack/I18N/Lexicon/Gettext.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
34 2 0 if (not try_load_class($i18n_class))
35 0 2 unless eval qq[ package $i18n_class;\n use parent 'Locale::Maketext';\n use Locale::Maketext::Lexicon {\n '*' => [Gettext => "$$self{'locale_dir'}/*.po"],\n _auto => 1,\n _decode => 1,\n _preload => 1\n };\n 1;\n]
54 0 1 unless opendir my $dh, $path
55 2 2 if /\.p[om]$/
62 0 1 unless first sub { $_ eq $$self{'default_language'}; } , @languages