Branch Coverage

lib/Sisimai/Lhost/OpenSMTPD.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
20 416 57 unless index($mhead->{'subject'}, "Delivery status notification") > -1
21 26 31 unless index($mhead->{'from'}, "Mailer Daemon <") > -1
22 0 31 unless grep {rindex($_, " (OpenSMTPD) with ") > -1;} @{$$mhead{"received"};}
92 103 200 unless ($readcursor)
94 31 72 if index($e, $startingof->{'message'}[0]) == 0
97 0 200 unless $readcursor & $indicators->{'deliverystatus'}
98 72 128 unless length $e
112 36 92 if ($e =~ /\A([^ ]+?[\@][^ ]+?):?[ ](.+)\z/)
114 5 31 if ($v->{'recipient'})
124 0 31 unless $recipients
131 115 20 unless grep {index($e->{'diagnosis'}, $_) > -1;} @{$$messagesof{$r};}