line |
true |
false |
branch |
35
|
1 |
7 |
if ($dir = $args{'cache_dir'}) |
37
|
1 |
0 |
if ($app and substr($dir, 0, 1) ne '/') |
45
|
8 |
0 |
$app ? : |
55
|
0 |
8 |
unless $args{'template_options'} |
58
|
0 |
8 |
unless (exists $config{'COMPILE_DIR'}) |
68
|
8 |
0 |
unless $config{'LOAD_TEMPLATES'} |
70
|
0 |
8 |
unless $self->tt('Template'->new(\%config)) |
84
|
1 |
35 |
if defined $inline |
85
|
0 |
36 |
unless $t |
90
|
35 |
1 |
unless ($c->stash->{'layout'}) |
99
|
1 |
35 |
if (defined $inline) { } |
105
|
27 |
8 |
if (not defined $ret[1]) { } |
|
0 |
8 |
elsif (not defined $ret[0]) { } |
112
|
6 |
2 |
if $! == 2 and not ref $ret[0] |
119
|
3 |
25 |
unless $ok |
141
|
0 |
8 |
if $method =~ /^[A-Z]+?$/u |
142
|
0 |
8 |
if $method =~ /^_/u |
143
|
0 |
8 |
if $method =~ /(?:\:*?)DESTROY$/u |
147
|
1 |
7 |
unless $self->ctx->app->renderer->helpers->{$method} |
174
|
8 |
34 |
@_ > 1 ? : |
175
|
36 |
0 |
@_ > 1 ? : |
179
|
32 |
72 |
unless $self->SUPER::_template_modified($template) or $template =~ m[^templates(?:/|\\)]u |
192
|
7 |
34 |
if (-r $path) |
200
|
26 |
8 |
if (defined $options) { } |
205
|
6 |
5 |
if $data |
209
|
8 |
26 |
unless ($data) |
213
|
34 |
0 |
wantarray ? : |