line |
true |
false |
branch |
48
|
0 |
126 |
if (my $e = Mojo::Loader::load_class($config_class)) |
49
|
0 |
0 |
ref $e ? : |
52
|
121 |
5 |
if $local_config_dir ne $config_dir |
57
|
143 |
351 |
if (-f $f) |
70
|
12 |
186 |
if (defined $value) |
76
|
5 |
181 |
$key ? : |
93
|
98 |
23 |
unless $conf->{'namespaces'} |
|
0 |
121 |
if @{[] unless $conf->{'namespaces'};} |
96
|
49 |
72 |
unless $conf->{'routes'} |
|
71 |
50 |
if @{[] unless $conf->{'routes'};} |
100
|
24 |
97 |
if (not &List::Util::first(sub {
$templates_dir eq $_ // '';
}
, @{$app->renderer->paths;}) and -d $templates_dir) |
108
|
23 |
98 |
if (not &List::Util::first(sub {
$public_dir eq $_ // '';
}
, @{$app->static->paths;}) and -d $public_dir) |