Branch Coverage

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


line true false branch
94 164 3 unless $view =~ /\.\Q$def_tmpl_ext\E$/
131 34 3 unless XXX
140 32 0 if defined $content
156 0 4 $options->{'layout'} ? :
4 28 exists $options->{'layout'} ? :
160 0 32 unless defined $content
161 26 6 unless defined $layout
174 6 0 if defined $full_content
188 67 2 if ($self->has_request)
194 10 57 if $self->has_session
215 37 0 $view ? :
217 32 0 if defined $content
220 32 0 if defined $full_content