Branch Coverage

blib/lib/Dancer2/Core/Role/Template.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
94 168 3 unless $view =~ /\.\Q$def_tmpl_ext\E$/
131 38 3 unless is_ref($view)
140 35 0 if defined $content
156 0 4 $options->{'layout'} ? :
4 31 exists $options->{'layout'} ? :
160 0 35 unless defined $content
161 29 6 unless defined $layout
174 6 0 if defined $full_content
188 74 2 if ($self->has_request)
194 10 64 if $self->has_session
215 41 0 $view ? :
217 35 0 if defined $content
220 35 0 if defined $full_content