line |
true |
false |
branch |
52
|
0 |
1 |
grep(($_ eq $push_class), @{$app->renderer->classes;}) ? : |
|
0 |
1 |
grep(($_ eq $push_path), @{$app->static->paths;}) ? : |
|
1 |
0 |
unless ($self->render_dir // '') eq 0 and ($self->render_markdown // '') eq 0 |
55
|
0 |
0 |
ref $self->templates_dir ? : |
|
0 |
1 |
if $self->templates_dir |
72
|
0 |
1 |
if defined $self->max_upload_size |
77
|
0 |
1 |
unless not $self->config->{'root_dir'} or -e $self->config->{'root_dir'} |
84
|
1 |
0 |
unless $self->app->renderer->helpers->{'pod_to_html'} and ($self->render_pod // '') eq 0 |
87
|
0 |
1 |
if defined $self->max_upload_size |
95
|
0 |
4 |
ref $_[0] ? : |
99
|
2 |
2 |
defined $arg->{'pth'} ? : |
102
|
0 |
4 |
if $arg->{'host'} |
146
|
0 |
15 |
unless $c->stash('language') |
150
|
15 |
0 |
if /en/ |
152
|
0 |
0 |
if $loc = $loc{$_} || $loc{lc $_} || $loc{lc "$_-$_"} |
155
|
0 |
0 |
if $loc |
163
|
1 |
0 |
unless my $pass = $self->admin_pass |
165
|
0 |
0 |
if $c->param('admin') and $c->param('admin') eq $pass |
174
|
0 |
0 |
unless $patched++ |
181
|
0 |
0 |
unless $tx->req->method =~ /PUT|POST/ |
189
|
0 |
0 |
$host ? : |
|
0 |
0 |
if $self->debug |
197
|
0 |
0 |
if $route->name eq $self->routes_names->[2] || $route->name eq $self->routes_names->[3] and $host and $tx->req->headers->host =~ /$host/ |
216
|
0 |
0 |
unless $req->error |
221
|
0 |
0 |
if $req->is_finished and not $self->{'handled'}++ |
235
|
0 |
0 |
unless eval "require $pkg; 1" |
238
|
0 |
0 |
if $pkg->can('new') and $pkg->can('parse') |
241
|
0 |
0 |
unless $pkg->can('markdown') |