Branch Coverage

lib/Sisimai/Lhost/X2.pm
Criterion Covered Total %
branch 27 28 96.4


line true false branch
18 318 593 if index($mhead->{'from'}, "MAILER-DAEMON\@") != -1
19 21 890 if index($mhead->{'subject'}, "Delivery failure") == 0
20 5 906 if index($mhead->{'subject'}, "failure delivery") == 0
21 5 906 if index($mhead->{'subject'}, "failed delivery") == 0
22 588 323 unless $match > 0
41 12036 188 unless ($readcursor)
43 36 12000 if grep {index($e, $_) == 0;} @{$$startingof{"message"}}
46 51 137 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
70 46 91 if (index($e, '<') == 0 and 'Sisimai::String'->aligned(\$e, ['<', '@', '>:']) or index($e, 'Delivery failed: ') == 0 and 'Sisimai::String'->aligned(\$e, ['failed: ', '@'])) { }
0 91 elsif (index($e, 'STTEP: ') == 0) { }
86 5 elsif (index($e, '-----') != 0) { }
74 10 36 if ($v->{'recipient'})
79 41 5 if index($e, "<") == 0
93 287 36 unless $recipients