Branch Coverage

blib/lib/Catalyst/View/TT.pm
Criterion Covered Total %
branch 37 64 57.8


line true false branch
86 71 21 unless $paths
87 0 21 if ref $paths eq 'ARRAY'
90 21 0 unless (defined $dlim)
91 0 21 $^O eq 'MSWin32' ? :
105 92 20 unless (ref $config->{'INCLUDE_PATH'} eq 'ARRAY')
109 71 21 unless (@include_path)
121 0 112 if ($config->{'TIMER'})
122 0 0 if ($config->{'CONTEXT'}) { }
132 0 0 if ($c->debug and $config->{'DUMP_CONFIG'})
155 10 102 if ($config->{'PROVIDERS'})
157 10 0 if (ref $config->{'PROVIDERS'} eq 'ARRAY')
161 0 10 if ($pname eq '_file_') { }
167 10 0 if ($pname =~ s/^\+//) { }
177 0 10 if ($p->{'copy_config'})
185 10 0 if (not $@) { }
195 10 0 if (@providers)
218 0 18 unless (defined $template)
219 0 0 if $c->debug
225 0 18 if (my $err = $@)
228 0 18 if (&blessed($output) and $output->isa('Template::Exception'))
232 18 0 unless ($c->response->content_type)
253 0 22 if $c and $c->debug
257 3 19 ref $args eq 'HASH' ? :
263 2 20 if ref $vars->{'additional_template_paths'}
265 1 21 unless ($self->template->process($template, $vars, \$output))
266 1 0 if (exists $self->{'render_die'})
267 1 0 if $self->{'render_die'}
270 0 0 if $c and $c->debug
279 1 21 unless $c
288 0 21 defined $cvar ? :
290 2 19 if ($self->expose_methods)
294 0 2 unless ($method)