line |
true |
false |
branch |
11
|
1 |
24 |
if $config->{'routes'} |
12
|
0 |
24 |
unless $config->{'language_from_route'} |
89
|
0 |
25 |
if $e |
128
|
3 |
127 |
if ($language) |
136
|
27 |
100 |
if ($stash->{$l_param}) |
144
|
0 |
100 |
if ($config->{'language_from_host'} and my($l) = $c->req->headers->host =~ /^(\w{2})\./) |
154
|
8 |
92 |
if ($config->{'language_from_param'} and my $l = $c->param($l_param) // '') |
161
|
5 |
95 |
if (not $stash->{$l_param} and $config->{'language_from_cookie'} and $language = $c->cookie($l_param)) { } |
|
87 |
8 |
elsif (not $stash->{$l_param} and $config->{'language_from_headers'}) { } |
177
|
2 |
0 |
if $stash->{$l_param} |
179
|
2 |
85 |
if $stash->{$l_param} |
183
|
85 |
15 |
unless $stash->{$l_param} |
191
|
676 |
70 |
ref $stash->{'i18n'} ? : |