line |
true |
false |
branch |
82
|
0 |
2962 |
if $self->{'DEBUG'} |
87
|
1317 |
1645 |
if &blessed($name) and $name->isa('Template::Document') or ref $name eq 'CODE' |
93
|
430 |
1215 |
unless (ref $name) |
95
|
0 |
430 |
if $self->{'DEBUG'} |
100
|
191 |
239 |
if $template = $self->{'BLOCKS'}{$name} |
106
|
19 |
125 |
if $blocks and $template = $blocks->{$name} |
111
|
0 |
220 |
if ($^O eq 'MSWin32') { } |
113
|
0 |
0 |
if $shortname =~ s/^(\w{2,})://o |
116
|
3 |
217 |
if $shortname =~ s/^(\w+):// |
119
|
3 |
217 |
if (defined $prefix) |
127
|
1432 |
3 |
unless $providers |
137
|
0 |
1439 |
if $self->{'DEBUG'} |
141
|
47 |
1392 |
if ($error) { } |
|
4 |
1388 |
elsif (length $blockname) { } |
142
|
7 |
40 |
if ($error == 255) |
144
|
0 |
7 |
if (&blessed($template) and $template->isa('Template::Exception') and $template->type eq 'file') { } |
156
|
3 |
1 |
if $template = $template->blocks->{$blockname} |
163
|
36 |
5 |
if ref $shortname or not $self->{'EXPOSE_BLOCKS'} |
164
|
1 |
4 |
unless $shortname =~ s[/([^/]+)$][] |
165
|
0 |
4 |
length $blockname ? : |
188
|
0 |
0 |
defined $args ? : |
|
0 |
210 |
if $self->{'DEBUG'} |
193
|
204 |
6 |
unless $error |
194
|
3 |
3 |
if ($error == 255) |
195
|
3 |
0 |
if ref $plugin |
219
|
0 |
0 |
defined $args ? : |
|
0 |
0 |
defined $alias ? : |
|
0 |
167 |
if $self->{'DEBUG'} |
224
|
11 |
156 |
if not $args || ref $name and $filter = $self->{'FILTER_CACHE'}{$name} |
229
|
147 |
9 |
unless $error |
230
|
9 |
0 |
if ($error == 255) |
231
|
4 |
5 |
if ref $filter |
238
|
0 |
147 |
unless $filter |
254
|
8 |
139 |
if $alias |
300
|
1608 |
2 |
unless ref $template eq 'ARRAY' |
305
|
0 |
0 |
defined $params ? : |
|
0 |
0 |
$localize ? : |
|
0 |
1610 |
if $self->{'DEBUG'} |
312
|
265 |
1323 |
if ($localize) { } |
327
|
85 |
133 |
ref $name ? : |
|
218 |
1372 |
ref $compiled eq 'CODE' ? : |
331
|
290 |
1300 |
if (&blessed($component) and $component->isa('Template::Document')) |
339
|
1324 |
266 |
unless ($localize) |
342
|
1305 |
0 |
if &blessed($compiled) and $compiled->isa('Template::Document') and $tblocks = $compiled->blocks |
347
|
218 |
1372 |
if (ref $compiled eq 'CODE') { } |
|
1372 |
0 |
elsif (ref $compiled) { } |
358
|
116 |
1450 |
if ($trim) |
373
|
283 |
1283 |
if &blessed($component) and $component->isa('Template::Document') |
380
|
265 |
1323 |
if ($localize) |
385
|
24 |
0 |
ref $error ? : |
|
24 |
1564 |
if $error |
423
|
2 |
13 |
ref $file eq 'ARRAY' ? : |
426
|
0 |
15 |
if $self->{'DEBUG'} |
432
|
0 |
17 |
if ($^O eq 'MSWin32') { } |
434
|
0 |
0 |
if $name =~ s/^(\w{2,})://o |
437
|
1 |
16 |
if $name =~ s/^(\w+):// |
440
|
1 |
16 |
if (defined $prefix) { } |
452
|
12 |
5 |
unless $error |
453
|
2 |
3 |
if ($error == 255) |
454
|
0 |
2 |
if ref $text |
499
|
32 |
110 |
if (&blessed($error) and $error->isa('Template::Exception')) { } |
|
0 |
110 |
elsif (&blessed($error) and $error->isa('Badger::Exception')) { } |
|
105 |
5 |
elsif (defined $info) { } |
541
|
147 |
15 |
if (&blessed($error) and $error->isa('Template::Exception') || $error->isa('Badger::Exception')) { } |
543
|
127 |
20 |
if $output |
622
|
0 |
0 |
unless ref $block |
638
|
1 |
6 |
if $is_dynamic |
642
|
7 |
0 |
unless $error |
643
|
0 |
0 |
if $error == &Template::Constants::STATUS_ERROR |
673
|
1 |
1 |
if (defined $params->{'base'}) |
676
|
0 |
1 |
unless $base |
681
|
0 |
1 |
unless &blessed($base) and $base->isa($VIEW_CLASS) |
707
|
0 |
1 |
if ref $views eq 'HASH' |
760
|
9 |
6 |
ref $_[-1] eq 'HASH' ? : |
763
|
15 |
0 |
if (@args) |
764
|
3 |
12 |
if ($args[0] =~ /^on|1$/i) { } |
|
3 |
9 |
elsif ($args[0] =~ /^off|0$/i) { } |
774
|
9 |
6 |
if (@args) |
775
|
9 |
0 |
if ($args[0] =~ /^msg$/i) { } |
|
0 |
0 |
elsif ($args[0] =~ /^format$/i) { } |
776
|
0 |
9 |
unless $self->{'DEBUG_DIRS'} |
778
|
0 |
9 |
unless defined $format |
807
|
0 |
26 |
if $method eq 'DESTROY' |
810
|
0 |
26 |
unless defined($result = $$self{uc $method}) |
854
|
7 |
467 |
ref $item eq 'ARRAY' ? : |
861
|
0 |
3 |
ref $val ? : |
|
3 |
0 |
unless ref $val eq 'ARRAY' |
886
|
39 |
13 |
unless ref $block |
896
|
1 |
157 |
if $config->{'VIEWS'} |
915
|
1 |
157 |
defined $config->{'EXPOSE_BLOCKS'} ? : |
921
|
17 |
141 |
defined $config->{'DEBUG'} ? : |