Branch Coverage

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


line true false branch
22 0 644 unless defined $ref
26 0 644 if $cache_ok
27 0 644 if defined $branch
38 1140 644 $3 eq '.' ? :
40 0 1784 if (ref $branch eq 'ARRAY') { }
41 0 0 if (not defined $branch->[$branch_piece]) { }
42 0 0 if ($create) { }
43 0 0 $type eq ']' ? :
45 0 0 if $cache_ok
57 58 1726 if (not defined $branch->{$branch_piece}) { }
58 58 0 if ($create) { }
59 0 58 $type eq ']' ? :
61 0 58 if $cache_ok
71 1140 644 if $type eq '.'
82 644 20 if ($property_name =~ /^(.*)([\.\{\[])([^\.\[\]\{\}]+)([\]\}]?)$/) { }
87 0 644 if $cache_ok
88 644 0 unless defined $branch
95 0 664 if (ref $branch eq 'ARRAY') { }
113 7 23 if (ref $data eq 'ARRAY') { }
23 0 elsif (ref $data) { }
116 2 22 unless (ref $elem)
117 2 0 if not $section_data and $section
123 22 2 if (ref $elem)
124 22 0 $section ? :
131 330 7 unless (ref $elem)
133 22 308 if not $section_data and $section
139 7 330 if (ref $elem)
140 4 3 $section ? :
157 0 712 if $line =~ /^;/
158 0 712 if $line =~ /^#/
159 48 664 if ($line =~ /^\[([^\[\]]+)\] *$/)
162 664 48 if ($line =~ /^ *([^ =]+) *= *(.*)$/)
163 644 20 $attrib_base ? :