Branch Coverage

blib/lib/Data/CHEF.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
54 0 0 if $line =~ /^#/
55 0 0 if ($line =~ /==/) { }
0 0 elsif ($line =~ /=>/) { }
0 0 elsif ($line =~ /=\{/) { }
0 0 elsif ($line eq '}') { }
59 0 0 if ($key)
61 0 0 if (@stack)
65 0 0 if ($$self{'data'}{$key}) { }
77 0 0 if ($eoi =~ /^\|/)
82 0 0 if ($key)
84 0 0 if (@stack)
92 0 0 if ($bar)
96 0 0 if ($subline eq $eoi)
103 0 0 if ($$self{'data'}{$key}) { }
113 0 0 if (@stack)
148 0 0 if ($$self{'data'}{$field} =~ /\n/) { }
169 0 0 if (scalar @_ > 1) { }
191 0 0 if ($key)
193 0 0 unless $$self{'data'}{$key}
197 0 0 if ($reindex)
246 0 0 if ($test =~ /\((\d+)\)/)
249 0 0 unless ($array[$index])
260 0 0 if ref $element
275 0 0 if ($test =~ /\[(\w+)\]/)
278 0 0 unless ($hash{$hkey})
300 0 0 unless ($$self{'ptr'} == $#{$$self{'index'};})
310 0 0 unless ($$self{'ptr'} == 0)
373 0 0 if ($key =~ /^([\w\-]+|\(\d+\)|\[[\w\-]+\])(\.([\w\-]+|\(\d+\)|\[[\w\-]+\]))*$/) { }
390 0 0 if ($k =~ /$substr/)
418 0 0 if ($key)
420 0 0 unless $$self{'data'}{$key}
424 0 0 if ($reindex)