Branch Coverage

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


line true false branch
16 2 90 unless keys %$mhead
17 1 89 unless ref $mbody eq "SCALAR"
25 255 279 unless exists $mhead->{$e}
58 18 245 unless exists $lower->{$e}
59 227 18 unless grep {index($lower->{$e}, $_) != -1;} @{$$donotparse{$e}}
63 18 71 if $leave
67 151 75 unless exists $lower->{$e}
68 44 31 unless grep {index($lower->{$e}, $_) == 0;} @{$$autoreply0{$e}}
73 40 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
131 26 5 unless "Sisimai::String"->aligned(\$cv, $e)
139 10 21 $lower->{'subject'} =~ /$subjectset/u ? :