Branch Coverage

blib/lib/HTML/Template/Compiled/Utils.pm
Criterion Covered Total %
branch 8 20 40.0


line true false branch
71 1 87 if (&Encode::is_utf8($text))
79 0 0 unless $force
104 0 0 if (not defined $_) { }
0 0 elsif (not ref $_) { }
111 0 0 if (ref $_ eq 'HTML::Template::Compiled::Utils') { }
137 0 8 unless defined $str
155 0 1 unless defined $_[0]
172 1 5 &Encode::is_utf8($_[0]) ? :
188 0 2 unless defined $var
206 0 2 unless defined $var