Branch Coverage

blib/lib/Config/YAMLMacros.pm
Criterion Covered Total %
branch 31 42 73.8


line true false branch
23 7 5 unless exists $$href{$k}
24 2 3 if (not ref $$href{$k}) { }
3 0 elsif (ref $$href{$k} eq 'ARRAY') { }
38 3 8 unless $jlist
46 8 7 unless $$sref =~ s/($re)/&$replace($1);/eg
47 0 7 if ($iteration++ >= $max_replace_iterations)
71 4 1 $opts{'replacements'} ? :
75 3 11 unless $yaml
78 0 11 if $@
82 7 13 if ($metakeys{$k}) { }
88 0 11 if ($meta and $non_meta) { }
5 6 elsif ($meta) { }
91 2 3 if ($$newstuff{'NO_REPLACE'})
97 1 4 if $$newstuff{'REPLACE'}
99 1 4 if ($$newstuff{'EVAL_REPLACE'})
100 0 1 unless ref $$newstuff{'EVAL_REPLACE'} eq 'HASH'
104 0 1 if $@
109 0 3 if ref $include
111 0 3 unless (-e $include)
113 0 0 if -e $alt
133 5 0 if $old_behavior