Branch Coverage

blib/lib/Config/INI/Reader.pm
Criterion Covered Total %
branch 18 18 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}/u)
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))
157 13 41 if $_[1] =~ /^\s*\[\s*(.+?)\s*\]\s*$/u
177 11 2 if (not exists $self->{'data'}{$section})
194 39 2 if $_[1] =~ /^\s*([^=\s\pC][^=\pC]*?)\s*=\s*(.*?)\s*$/u
238 11 54 $line =~ /\A\s*(?:;|$)/u ? :