Branch Coverage

lib/Sisimai/RFC3834.pm
Criterion Covered Total %
branch 39 44 88.6


line true false branch
16 2 92 unless keys %$mhead
17 1 91 unless ref $mbody eq "SCALAR"
25 260 286 unless exists $mhead->{$e}
58 17 217 unless exists $lower->{$e}
59 195 22 unless grep {index($lower->{$e}, $_) != -1;} @{$$donotparse{$e}}
63 22 69 if $leave
67 139 91 unless exists $lower->{$e}
68 60 31 unless grep {index($lower->{$e}, $_) == 0;} @{$$autoreply0{$e}}
73 38 31 unless $match
87 26 31 unless exists $mhead->{$e}
93 31 0 if ($v->{'recipient'})
99 0 31 unless $recipients
101 25 6 if ($mhead->{'content-type'})
104 5 20 if $q
111 0 73 if index($e, $markingsof->{'boundary'}) != -1
113 21 52 unless (length $e)
115 5 16 if ++$blanklines > $countuntil
118 15 37 if rindex($e, " ") == -1
119 0 37 if index($e, "Content-Type") == 0 or index($e, "Content-Transfer") == 0
123 0 37 if $haveloaded >= $maxmsgline
133 26 5 unless "Sisimai::String"->aligned(\$cv, $e)
141 10 21 $lower->{'subject'} =~ /$subjectset/u ? :