Branch Coverage

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


line true false branch
31 30 74 if exists $self->{'eol'}
45 30 74 if exists $self->{'indent'}
59 30 74 if exists $self->{'sub_indent'}
73 87 366 if exists $self->{'try_fold_at'}
87 0 0 if exists $self->{'force_fold_at'}
146 292 1040 if ($part->is eq "space" and $last_type ne "space")
148 292 0 if @$stack
154 98 6 if @$stack
163 121 296 if ($section->[0]->is eq "space" and $section->[0]->value eq $eol)
166 94 27 unless (exists $section->[0]{'_folded'})
167 89 5 if ($section->[1]->is eq "space")
177 21 396 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)