Branch Coverage

blib/lib/Config/Model/DumpAsData.pm
Criterion Covered Total %
branch 44 54 81.4


line true false branch
35 40 1 unless defined $ordered_hash_as_list
39 0 41 if $full
42 17 24 $mode ? :
0 41 $mode eq 'full' ? :
0 41 $full ? :
52 8 397 $value_obj->value_type eq 'boolean' ? :
60 7 4 if @$a_ref
77 45 5 if (defined $v or $force_write)
85 10 25 if ($ordered_hash and $ordered_hash_as_list) { }
86 6 4 if @res
89 1 24 if $ordered_hash and @keys
90 13 12 if scalar %h
103 52 8 if defined $v
105 22 23 if scalar @a
114 118 313 if defined $v
116 50 36 if scalar %h
122 0 68 if $skip_aw and $next->is_auto_write_for_type($skip_aw)
140 0 41 if @left
151 18 23 if ($obj_type =~ /node/) { }
10 13 elsif (defined $i) { }
13 0 elsif ($obj_type eq 'list' or $obj_type eq 'hash' or $obj_type eq 'leaf' or $obj_type eq 'check_list') { }
181 16 350 if ($a) { }
208 26 2 if $node_path
228 0 2 if @left
238 2 0 if $a
240 2 0 if ($obj_type =~ /node/) { }
247 0 2 unless $result