Branch Coverage

blib/lib/Template/Resolver.pm
Criterion Covered Total %
branch 27 42 64.2


line true false branch
23 13 94 unless $properties
26 67 40 if ($ref and $ref eq 'HASH' or &blessed($entity)) { }
3 37 elsif ($ref and $ref eq 'ARRAY') { }
0 37 elsif ($ref) { }
28 69 19 $prefix ? :
35 6 0 $prefix ? :
53 0 0 $transform ? :
0 34 unless defined $transformed
71 1 12 $options{'additional_transforms'} ? :
85 6 3 if ($ref and $ref eq 'HASH') { }
3 0 elsif ($ref and $ref eq 'ARRAY') { }
0 0 elsif ($ref) { }
86 2 12 $_[1] ? :
91 0 14 $_[1] ? :
104 0 40 if ($text eq "\${\Q$template_key\E<\Q$loop_name\E.\Q$key_match\E}}") { }
139 0 0 unless $name or $indices
140 19 0 if $name
141 2 17 if ($indices)
156 5 9 if ($options{'content'}) { }
0 9 elsif ($options{'handle'}) { }
9 0 elsif ($options{'filename'}) { }