| line |
!l |
l&&!r |
l&&r |
condition |
|
84
|
29 |
1 |
2 |
@_ == 1 and ref $_[0] eq "HASH" |
|
166
|
0 |
0 |
167 |
defined $needle and defined $haystack |
|
180
|
0 |
0 |
10 |
$elem =~ /^\d+$/u and $elem < @$arr |
|
197
|
1 |
59 |
5 |
length $str and substr($str, 0, 1) eq $char |
|
300
|
0 |
13 |
0 |
$tf and not -r $tf |
|
381
|
223 |
195 |
33 |
$is_open and $has_len |
|
476
|
111 |
7 |
147 |
substr($str, 0, 2) eq "{\$" and $str =~ m[^\{\$([\w|.'";\t :,!\@#%^&*?_/\\\-]+)\}$]u |
|
481
|
66 |
1 |
51 |
substr($str, 0, 4) eq "{if " and substr($str, -5) eq "{/if}" |
|
486
|
37 |
0 |
30 |
substr($str, 0, 9) eq "{foreach " and $str =~ m[^\{foreach (\$\w[\w.]*) as \$(\w+)(?: => \$(\w+))?\}(.+)\{/foreach\}$]su |
|
496
|
23 |
0 |
5 |
substr($str, 0, 9) eq "{literal}" and $str =~ m[^\{literal\}(.+)\{/literal\}$]su |
|
531
|
20 |
4 |
4 |
$is_nothing and $is_default |
|
|
4 |
17 |
3 |
not $is_nothing and $is_default |
|
647
|
25 |
2 |
1 |
ref $src ne "ARRAY" and ref $src ne "HASH" |
|
735
|
0 |
0 |
9 |
-f $inc_tpl and -r $inc_tpl |
|
769
|
2 |
0 |
12 |
defined $ret and !ref($ret) || ref $ret eq '' |
|
827
|
113 |
0 |
10 |
$first eq "'" and $last eq "'" |
|
832
|
99 |
0 |
14 |
$first eq "\"" and $last eq "\"" |
|
834
|
3 |
0 |
11 |
index($tmp, "\$") == -1 and index($tmp, "\"") == -1 |
|
845
|
38 |
0 |
3 |
$str =~ /^(\w+)$/u and exists $self->{'tpl_vars'}{$1} |
|
849
|
38 |
0 |
0 |
$str =~ /^!(\w+)$/u and exists $self->{'tpl_vars'}{$1} |