Branch Coverage

blib/lib/Data/Template.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
26 22 6 if (not ref $tt) { }
4 2 elsif (ref $tt eq 'ARRAY') { }
2 0 elsif (ref $tt eq 'HASH') { }
101 17 17 if ($prefix)
102 4 13 if ($s =~ s/^\Q$prefix\E//) { }
119 13 21 if defined $p
122 0 21 unless $self->engine->process(\$t, $vars, \$ps)