lib/Mojolicious/Plugin/Qooxdoo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 24 | 62.5 |
line | true | false | branch |
---|---|---|---|
14 | 2 | 0 | if ($conf->{'prefix'}) |
23 | 2 | 0 | if ($conf->{'controller'}) |
27 | 0 | 2 | $conf->{'namespace'} ? : |
30 | 1 | 1 | if ($ENV{'QX_SRC_MODE'}) { } |
34 | 0 | 1 | $ENV{'QX_SRC_PATH'} && file_name_is_absolute($ENV{'QX_SRC_PATH'}) ? : |
43 | 1 | 0 | if ($ctrl->param("file")) |
46 | 1 | 0 | unless (defined $prefixCache{$prefix}) |
59 | 0 | 1 | unless ($static->dispatch($ctrl)) |
78 | 1 | 0 | if ($root ne "/") |
82 | 18 | 1 | if ($file =~ s[^/$root][/]u) |
83 | 0 | 18 | if ($file eq "/") |
86 | 1 | 17 | if (-r $app->home->rel_file("public" . $file)) |