line |
true |
false |
branch |
28
|
1 |
5 |
defined $parms{'strict'} ? : |
31
|
1 |
5 |
defined $parms{'templates'} ? : |
43
|
3 |
3 |
@_ ? : |
49
|
0 |
2 |
if (@_) |
51
|
0 |
0 |
if ($Template::Trivial::TMPL_DIR and not $Template::Trivial::TMPL_DIR =~ m[/$]) |
64
|
0 |
6 |
$defines{$tmpl} =~ m[^/]o ? : |
68
|
5 |
1 |
if ($Template::Trivial::STRICT) |
69
|
0 |
5 |
unless $tmpl =~ /$TMPL_RE/ |
72
|
1 |
4 |
unless (-f $path or -c _) |
81
|
1 |
4 |
if exists $Template::Trivial::TEMPLATE_CACHE{$tmpl} |
104
|
14 |
0 |
if ($Template::Trivial::STRICT) |
105
|
0 |
14 |
unless $var =~ /$VAR_RE/ |
109
|
5 |
9 |
if ($append) { } |
125
|
1 |
1 |
$assign{$var} =~ m[^/] ? : |
129
|
2 |
0 |
if ($Template::Trivial::STRICT) |
130
|
0 |
2 |
unless $var =~ /$VAR_RE/ |
133
|
0 |
2 |
unless (-f $path or -c _) |
140
|
0 |
2 |
unless (open FILE, "$path") |
145
|
0 |
2 |
if ($append) { } |
160
|
1 |
0 |
if ($Template::Trivial::STRICT) |
161
|
0 |
1 |
unless $var =~ /$VAR_RE/ |
182
|
4 |
6 |
unless (defined $Template::Trivial::TEMPLATE_CACHE{$tmpl}) |
184
|
0 |
4 |
unless (open TMPL, "$Template::Trivial::TEMPLATE_NAME{$tmpl}") |
197
|
9 |
1 |
if (exists $Template::Trivial::VARIABLES{$+}) { } |
201
|
1 |
0 |
if ($Template::Trivial::STRICT) |
208
|
1 |
9 |
if ($append) { } |
220
|
16 |
1 |
if ($Template::Trivial::STRICT) |
221
|
1 |
15 |
unless ($_[0] and exists $Template::Trivial::VARIABLES{$_[0]} and $_[0] =~ /$VAR_RE/) |
227
|
15 |
1 |
defined $Template::Trivial::VARIABLES{$_[0]} ? : |