Branch Coverage

lib/Sisimai/Lhost/OpenSMTPD.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
19 1022 97 unless index($mhead->{'subject'}, "Delivery status notification") != -1
20 26 71 unless index($mhead->{'from'}, "Mailer Daemon <") != -1
21 0 71 unless grep {rindex($_, " (OpenSMTPD) with ") != -1;} @{$$mhead{"received"}}
92 303 485 unless ($readcursor)
94 71 232 if index($e, $startingof->{'message'}[0]) == 0
97 172 313 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
111 81 232 if ("Sisimai::String"->aligned(\$e, ["\@", " "]))
113 10 71 if ($v->{'recipient'})
123 0 71 unless $recipients
130 268 40 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}