Branch Coverage

lib/Sisimai/Lhost/IMailServer.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
20 5 886 if index($mhead->{'subject'}, "Undeliverable Mail ") == 0
21 26 865 if defined $mhead->{'x-mailer'} and index($mhead->{'x-mailer'}, "
22 865 26 unless $match
49 26 70 if ($p0 > 8 and 'Sisimai::String'->aligned(\$e, [': ', '@']) or index($e, 'undeliverable ') == 0) { }
52 0 26 if ($v->{'recipient'})
64 25 45 if $v->{'alterrors'}
65 5 65 if index($e, $startingof->{'error'}[0]) != -1
68 0 26 unless $recipients
72 5 0 if (exists $e->{'alterrors'} and $e->{'alterrors'})
83 46 26 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}