Branch Coverage

blib/lib/Config/INI/Reader.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
94 1 11 ref $invocant ? :
98 1 65 if ($handle->input_line_number == 1 and $line =~ /\A\x{FEFF}/)
104 11 54 if $self->can_ignore($line, $handle)
107 13 41 if (defined(my $name = $self->parse_section_header($line, $handle)))
115 39 2 if (my($name, $value) = $self->parse_value_assignment($line, $handle))
143 27 12 defined $_[0]{'section'} ? :
157 13 41 if $_[1] =~ /^\s*\[\s*(.+?)\s*\]\s*$/
177 11 2 if (not exists $self->{'data'}{$section})
194 39 2 if $_[1] =~ /^\s*([^=\s\pC][^=\pC]*?)\s*=\s*(.*?)\s*$/
238 11 54 $line =~ /\A\s*(?:;|$)/ ? :