Branch Coverage

blib/lib/Text/Template/Inline.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
19 2 5 if ($func_name)
34 0 46 unless $template
42 2 7 defined $indent && $lead > $indent ? :
44 3 43 if defined $indent
64 40 97 if (blessed $ref) { }
61 36 elsif (reftype $ref eq 'HASH') { }
31 5 elsif (reftype $ref eq 'ARRAY') { }
65 3 37 unless $ref->can($key)
69 3 58 unless exists $$ref{$key}
73 4 27 unless $key =~ /^\d+$/ and exists $$ref[$key]