Branch Coverage

lib/Mail/AuthenticationResults/FoldableHeader.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
31 33 76 if exists $self->{'eol'}
45 33 76 if exists $self->{'indent'}
59 33 76 if exists $self->{'sub_indent'}
73 87 403 if exists $self->{'try_fold_at'}
87 0 0 if exists $self->{'force_fold_at'}
146 324 1173 if ($part->is eq "space" and $last_type ne "space")
148 324 0 if @$stack
154 103 6 if @$stack
163 149 305 if ($section->[0]->is eq "space" and $section->[0]->value eq $eol)
166 122 27 unless (exists $section->[0]{'_folded'})
167 117 5 if ($section->[1]->is eq "space")
177 21 433 if ($fold_length + $section_length > $self->try_fold_at)
178 15 6 if ($fold_length > 0) { }
205 24 6 if ($part_length + $first_section_length < $self->try_fold_at) { }
215 6 0 if (grep {$_->is ne "space";} @$first_section and grep {$_->is ne "space";} @$second_section)