Branch Coverage

blib/lib/Mail/DKIM/TextWrap.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
48 0 446 unless defined $text
52 18 58 if ($2 eq "\t") { }
73 16 455 if (defined $break_before and $self->{'word'} =~ s/^(.+?)($break_before)/$2/s) { }
361 94 elsif (defined $break_after and $self->{'word'} =~ s/^(.*?)($break_after)//s) { }
22 72 elsif ($self->{'NoBuffering'}) { }
92 0 399 unless length $word >= 1
95 84 315 if (defined $swallow and $word =~ s/($swallow)$//s) { }
105 47 2 if ($new_pos > $self->{'Margin'} and $self->{'may_break'})
110 46 1 if ($w_sep < $self->{'cur'})
150 0 399 if (UNIVERSAL::isa($out, 'GLOB')) { }
399 0 elsif (UNIVERSAL::isa($out, 'SCALAR')) { }