Branch Coverage

blib/lib/App/ZofCMS/Template.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
38 0 0 unless my $template = do $template_file
54 0 0 unless $conf->{'template_defaults'}
57 0 0 unless $conf->{'template_defaults'}{'conf'}
58 0 0 unless $dir_defaults->{'conf'}
59 0 0 unless $template->{'conf'}
63 0 0 unless $conf->{'template_defaults'}{'t'}
64 0 0 unless $dir_defaults->{'t'}
65 0 0 unless $template->{'t'}
69 0 0 unless $conf->{'template_defaults'}{'d'}
70 0 0 unless $dir_defaults->{'d'}
71 0 0 unless $template->{'d'}
76 0 0 unless $conf->{'template_defaults'}
118 0 0 if $key eq 'conf' or $key eq 't' or $key eq 'plugins' or $key eq 'd'
123 0 0 if (ref $value eq 'SCALAR') { }
125 0 0 if (substr($file, -5) eq '.tmpl') { }
138 0 0 unless open my $fh, '<', $file
167 0 0 $is_before ? :
169 0 0 if (ref $template->{'conf'}{$conf_key} eq 'CODE') { }
0 0 elsif (defined $template->{'conf'}{$conf_key} and length $template->{'conf'}{$conf_key}) { }
182 0 0 if $@
204 0 0 unless $$template{"plugins$plug_key"}
207 0 0 if $@
225 0 0 unless (ref $_)
230 0 0 if ref $_ eq 'HASH' and 1 == keys %$_
254 0 0 $h{$_->{'name'}}++ == 0 ? :
260 0 0 if (@_)
269 0 0 if (@_)
278 0 0 if (@_)
287 0 0 if (@_)
296 0 0 if (@_)
305 0 0 if (@_)