Branch Coverage

blib/lib/Config/INI/Serializer.pm
Criterion Covered Total %
branch 43 66 65.1


line true false branch
24 0 644 unless defined $ref
28 0 644 if $cache_ok
29 0 644 if defined $branch
40 1140 644 $3 eq '.' ? :
42 0 1784 if (ref $branch eq 'ARRAY') { }
43 0 0 if (not defined $$branch[$branch_piece]) { }
44 0 0 if ($create) { }
45 0 0 $type eq ']' ? :
47 0 0 if $cache_ok
59 58 1726 if (not defined $$branch{$branch_piece}) { }
60 58 0 if ($create) { }
61 0 58 $type eq ']' ? :
63 0 58 if $cache_ok
73 1140 644 if $type eq '.'
84 644 20 if ($property_name =~ /^(.*)([\.\{\[])([^\.\[\]\{\}]+)([\]\}]?)$/) { }
89 0 644 if $cache_ok
90 644 0 unless defined $branch
97 0 664 if (ref $branch eq 'ARRAY') { }
115 7 23 if (ref $data eq 'ARRAY') { }
23 0 elsif (ref $data) { }
118 2 22 unless (ref $elem)
119 2 0 if not $section_data and $section
125 22 2 if (ref $elem)
126 22 0 $section ? :
133 330 7 unless (ref $elem)
135 22 308 if not $section_data and $section
141 7 330 if (ref $elem)
142 4 3 $section ? :
159 0 712 if $line =~ /^;/
160 0 712 if $line =~ /^#/
161 48 664 if ($line =~ /^\[([^\[\]]+)\] *$/)
164 664 48 if ($line =~ /^ *([^ =]+) *= *(.*)$/)
165 644 20 $attrib_base ? :