line |
true |
false |
branch |
32
|
7 |
1 |
if (%opts) |
34
|
0 |
39 |
unless defined $self->can($k) |
45
|
0 |
87 |
if $dir and ref $dir |
46
|
8 |
79 |
if $dir |
54
|
2 |
2 |
if $template_hash |
62
|
5 |
2 |
if ($defaults) |
64
|
0 |
5 |
unless ref $defaults eq ref {} |
76
|
10 |
2 |
if (defined $char) |
77
|
7 |
3 |
if ($char eq '') { } |
80
|
0 |
3 |
unless $char =~ /./ |
91
|
2 |
1 |
if (defined $delim1) |
102
|
8 |
1 |
if (defined $delim1) |
104
|
7 |
1 |
if (ref $delim1 eq ref []) |
118
|
1 |
77 |
if $show and not $show == 0 || $show == 1 |
119
|
3 |
74 |
if defined $show |
126
|
0 |
87 |
if defined $ext and ref $ext |
127
|
8 |
79 |
if defined $ext |
134
|
0 |
245 |
if defined $label and ref $label |
135
|
8 |
237 |
if $label |
143
|
7 |
2 |
if (defined $indent) |
144
|
1 |
6 |
unless $indent == 0 or $indent == 1 |
155
|
6 |
2 |
if (defined $should_die) |
156
|
1 |
5 |
unless $should_die == 0 or $should_die == 1 |
168
|
5 |
2 |
if (defined $char) |
169
|
0 |
5 |
unless $char eq '' or $char =~ /./ |
182
|
14 |
120 |
if (ref($comp) =~ /array/i) { } |
|
77 |
43 |
elsif (ref($comp) =~ /hash/i) { } |
198
|
0 |
77 |
unless ref($h) =~ /hash/i |
202
|
0 |
77 |
unless $template_name |
207
|
76 |
83 |
if $k eq $self->name_label |
214
|
8 |
64 |
if ($self->show_labels) |
232
|
0 |
14 |
unless ref($arr) =~ /array/i |
235
|
0 |
27 |
if $delim and $html |
248
|
3 |
78 |
if ($self->{'template_hash'}) { } |
258
|
0 |
78 |
unless open $fh, '<', $filename |
309
|
75 |
0 |
if ($esc) { } |
325
|
10 |
68 |
if ($self->{'fixed_indent'}) { } |
328
|
10 |
0 |
if ($esc) { } |
340
|
10 |
0 |
if ($esc) { } |
341
|
10 |
0 |
if $frags[$i] =~ s/(?
|
343
|
0 |
0 |
if $frags[$i] =~ s/\Q$repl\E/$param_out/ |
349
|
75 |
0 |
if ($esc) { } |
350
|
64 |
11 |
if $frags[$i] =~ s/(?
|
352
|
0 |
0 |
if $frags[$i] =~ s/\Q$tda\E\s+$param_name\s+\Q$tdb\E/$param_val/g |
357
|
74 |
4 |
if ($self->{'die_on_bad_params'}) |
358
|
3 |
71 |
unless $replaced |
363
|
18 |
54 |
if (%{$self->{'defaults'};}) { } |
378
|
11 |
3 |
if $char |
383
|
18 |
0 |
if ($esc) { } |
394
|
58 |
0 |
if ($esc) { } |
403
|
72 |
0 |
if ($esc) |
410
|
72 |
0 |
$esc ? : |
419
|
12 |
13 |
if (@parts == 1) { } |
425
|
2 |
11 |
unless $new_ref |