Branch Coverage

blib/lib/String/Interpolate/Named.pm
Criterion Covered Total %
branch 27 30 90.0


line true false branch
282 228 219 if ($prev eq $tpl)
286 0 219 if $ctl->{'trace'}
301 6 213 if ($key =~ /^(.*)\.(-?\d+)$/)
305 68 151 ref $m eq 'CODE' ? :
306 153 66 if (defined $t)
309 141 12 if (UNIVERSAL::isa($val, 'ARRAY')) { }
0 12 elsif ($inx) { }
311 5 136 if ($inx) { }
312 3 2 if ($inx > 0 and $inx <= @$val) { }
330 66 153 if ($i->{'op'}) { }
104 49 elsif ($val ne '') { }
332 30 36 if ($i->{'op'} eq '=' and $val eq $test) { }
342 0 59 ($i->{'else'} // '') ne '' ? :
45 59 ($i->{'then'} // '') ne '' ? :
346 19 30 ($i->{'else'} // '') ne '' ? :