Branch Coverage

blib/lib/Catalyst/View/Xslate.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
177 30 210 if (defined(my $value = $self->$field))
187 19 0 if ($self->preload)
198 96 40 if (/\Q$suffix\E$/)
213 0 5 unless (defined $template)
214 0 0 if $c->debug
221 0 5 if (my $err = $@)
226 4 1 unless ($res->content_type)
230 4 1 if ($self->encode_body) { }
251 10 4 $vars ? :
253 3 11 if ($self->has_expose_methods)
255 6 0 if (my $code = $self->can($self->expose_methods->{$exposed_method})) { }
267 3 11 if (ref $template eq 'SCALAR') { }