line |
true |
false |
branch |
33
|
3 |
4 |
unless exists $args->{'filename'}
|
34
|
3 |
4 |
unless exists $args->{'render_data'}
|
41
|
7 |
0 |
if (defined $share_dir)
|
49
|
2 |
5 |
ref $args{'INCLUDE_PATH'} eq 'ARRAY' ? :
|
|
7 |
0 |
exists $args{'INCLUDE_PATH'} ? :
|
53
|
7 |
0 |
unless exists $args{'ENCODING'}
|
61
|
0 |
7 |
if defined $ENV{'HTML_FORMFU_TT_MODULE'} and length $ENV{'HTML_FORMFU_TT_MODULE'}
|
67
|
0 |
7 |
unless (exists $INC{$class})
|
69
|
0 |
0 |
if $@
|
81
|
0 |
7 |
unless ($template->process($args->{'filename'}, \%vars, \$output))
|
85
|
0 |
0 |
if ($error->type eq 'file' and $error =~ /not found/i) { }
|
107
|
2 |
5 |
if defined $SHARE_DIR
|
109
|
0 |
5 |
if $SHARE_ERROR
|
126
|
0 |
5 |
if ($@)
|