Branch Coverage

blib/lib/String/Sections.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
38 15 35 if (${$line;} =~ $self->header_regex)
45 0 35 if ($self->stop_at_end)
46 0 0 if ${$line;} =~ $self->document_end_regex
49 35 0 if ($self->ignore_empty_prelude)
50 0 35 if not $stash->has_current and ${$line;} =~ $self->empty_line_regex
53 0 35 unless ($stash->has_current)
57 0 35 if ($self->enable_escapes)
74 2 6 if ($self->default_name)
81 26 0 if $result
82 0 0 unless $result
102 2 5 if ($self->default_name)
108 24 0 if $result
109 0 0 unless $result