| line |
true |
false |
branch |
|
36
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
38
|
0 |
0 |
if length $v |
|
45
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
47
|
0 |
0 |
if length $v |
|
54
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
56
|
0 |
0 |
if length $v |
|
63
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
65
|
0 |
0 |
if length $v |
|
72
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
74
|
0 |
0 |
if length $v |
|
81
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
83
|
0 |
0 |
if length $v |
|
90
|
0 |
0 |
if ref $v eq 'Template::Qtpl' |
|
92
|
0 |
0 |
if length $v |
|
144
|
0 |
6 |
if ($v =~ /^\~(.+)$/) |
|
150
|
2 |
4 |
if ($sub[0] =~ /^main::(.+)$/) { } |
|
153
|
2 |
0 |
if (scalar @sub > 1) { } |
|
168
|
0 |
6 |
if ($need_encode) |
|
179
|
0 |
0 |
if (length $if_val) { } |
|
191
|
0 |
4 |
unless defined $$self{'blocks'}{$bname} |
|
197
|
0 |
9 |
if $v =~ /^IF\s+/ |
|
198
|
0 |
9 |
if $v =~ /^(ELSE|ENDIF)$/ |
|
199
|
3 |
6 |
if ($v =~ /^_BLOCK_\.(.+)$/) { } |
|
202
|
3 |
0 |
!exists($$self{'NULL_BLOCK'}{$bname2}) ? : |
|
205
|
0 |
3 |
!defined($var) ? : |
|
209
|
6 |
0 |
!exists($$self{'NULL_STRING'}{$v}) ? : |
|
212
|
1 |
5 |
!length($var) ? : |
|
213
|
6 |
0 |
unless $v =~ /^\d/ |
|
225
|
4 |
0 |
if ($$self{'AUTORESET'}) |
|
226
|
4 |
0 |
if (exists $$self{'sub_blocks'}{$bname_new}) |
|
228
|
0 |
7 |
unless length $bname_new |
|
240
|
0 |
0 |
if (exists $$self{'sub_blocks'}{$bname}) |
|
243
|
0 |
0 |
unless length $bname3 |
|
255
|
0 |
0 |
unless (length $bname) |
|
359
|
8 |
1 |
if ($v =~ /$patt/is) |
|
366
|
4 |
4 |
if ($res[1] eq $Template::Qtpl::block_start_word) { } |
|
|
4 |
0 |
elsif ($res[1] eq $Template::Qtpl::block_end_word) { } |
|
367
|
4 |
0 |
@block_names ? : |
|
382
|
4 |
0 |
unless ($added_to_parent{$cur_block_name_new}) |
|
415
|
0 |
0 |
$$self{'ERROR'} eq '' ? : |
|
431
|
0 |
1 |
unless (length $file) |
|
436
|
0 |
1 |
if ($$self{'FILENAME'} ne $file and dirname($$self{'FILENAME'})) |
|
439
|
0 |
1 |
unless (open XTPLFILE, $file) |