Branch Coverage

blib/lib/Dancer2/Template/TextTemplate/FakeEngine.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
82 0 7 unless defined $value
84 0 7 if (ref $value eq 'ARRAY') { }
6 1 elsif (ref $value eq 'HASH') { }
136 9 0 if $self->safe_disposable
144 0 21 unless defined $template and not &blessed($template) and ref $template || -f $template
149 2 3 ref $template ? :
5 16 $self->caching ? :
152 19 2 unless ($tt)
153 15 4 ref $template ? :
15 4 ref $template ? :
160 21 0 $self->safe ? :
10 11 unless my $computed = $tt->fill_in('HASH', $tokens, 'PREPEND', $self->prepend . _declare_arg_variables($tokens), $self->safe ? ('SAFE', $self->_safe) : ())
166 7 14 if $self->safe and $self->safe_disposable
168 5 16 if (defined $computed and $self->caching)
169 2 3 if (ref $template and $self->cache_stringrefs) { }
173 0 3 $self->expires > 0 ? :