Branch Coverage

blib/lib/Text/Xslate/PP/State.pm
Criterion Covered Total %
branch 4 46 8.7


line true false branch
74 0 0 if (&Scalar::Util::blessed($_[1])) { }
0 0 elsif (ref $_[1] eq 'HASH') { }
0 0 elsif (ref $_[1] eq 'ARRAY') { }
0 0 elsif ($_[1]) { }
77 0 0 if $@
80 0 0 if (defined $_[2]) { }
88 0 0 if (&Scalar::Util::looks_like_number($_[2])) { }
109 0 0 unless (exists $symbol_table->{$name})
110 0 0 if (defined $context)
112 0 0 if (defined $line)
131 0 0 $preeminent ? :
143 0 1 if ($st->current_frame > 100)
157 0 0 if ($replace_output)
176 1 0 if (ref $sv eq 'Text::Xslate::Type::Raw') { }
0 0 elsif (defined $sv) { }
177 1 0 if (defined ${$sv;}) { }
181 0 1 utf8::is_utf8($st->{'output'}) && !utf8::is_utf8(${$sv;}) ? :
191 0 0 utf8::is_utf8($st->{'output'}) && !utf8::is_utf8($sv) ? :
202 0 0 if (defined $context)
204 0 0 if (defined $line)
215 0 0 if ($st->engine->{'verbose'} > 1)
224 0 0 if ($st->engine->{'verbose'} >= 1)
232 0 0 if @_ == 1