line |
true |
false |
branch |
51
|
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 |
54
|
0 |
0 |
ref $self->templates_dir ? : |
|
0 |
1 |
if $self->templates_dir |
67
|
0 |
1 |
if defined $self->max_upload_size |
72
|
0 |
1 |
unless not $self->config->{'root_dir'} or -e $self->config->{'root_dir'} |
79
|
1 |
0 |
unless $self->app->renderer->helpers->{'pod_to_html'} and ($self->render_pod // '') eq 0 |
82
|
0 |
1 |
if defined $self->max_upload_size |
128
|
0 |
15 |
unless $c->stash('language') |
132
|
15 |
0 |
if /en/ |
134
|
0 |
0 |
if $loc = $loc{$_} || $loc{lc $_} || $loc{lc "$_-$_"} |
137
|
0 |
0 |
if $loc |
145
|
1 |
0 |
unless my $pass = $self->admin_pass |
147
|
0 |
0 |
if $c->param('admin') and $c->param('admin') eq $pass |
156
|
0 |
0 |
unless $patched++ |
163
|
0 |
0 |
unless $tx->req->method =~ /PUT|POST/ |
172
|
0 |
0 |
if $route->name eq $self->routes_names->[2] or $route->name eq $self->routes_names->[3] |
190
|
0 |
0 |
unless $req->error |
195
|
0 |
0 |
if $req->is_finished and not $self->{'handled'}++ |
209
|
0 |
0 |
unless eval "require $pkg; 1" |
212
|
0 |
0 |
if $pkg->can('new') and $pkg->can('parse') |
215
|
0 |
0 |
unless $pkg->can('markdown') |