Branch Coverage

blib/lib/Plack/Middleware/WOVN/Lang.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
43 1 7 unless defined $lang_name
44 2 5 if $Plack::Middleware::WOVN::Lang::LANG->{$lang_name}
49 2 96 if ($lang_name eq lc $Plack::Middleware::WOVN::Lang::LANG->{$key}{'name'} or $lang_name eq lc $Plack::Middleware::WOVN::Lang::LANG->{$key}{'en'} or $lang_name eq lc $Plack::Middleware::WOVN::Lang::LANG->{$key}{'code'})
63 1 0 $lang_code ? :