Branch Coverage

lib/Sisimai/Lhost/EinsUndEins.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
20 850 32 unless index($mhead->{'from'}, "\"Mail Delivery System\"") == 0
21 15 17 unless $mhead->{'subject'} eq "Mail delivery failed: returning message to sender"
39 17 149 unless ($readcursor)
41 17 0 if index($e, $startingof->{'message'}[0]) == 0
44 52 97 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
56 17 80 if ($e =~ /\A\s*([^ ]+[\@][^ ]+?)[:]?\z/u) { }
6 74 elsif (index($e, $startingof->{'error'}[0]) == 0) { }
59 0 17 if ($v->{'recipient'})
72 12 62 if (length $v->{'diagnosis'}) { }
84 0 17 unless $recipients
91 11 6 if ('Sisimai::String'->aligned(\$e->{'diagnosis'}, ['host: ', ' reason:'])) { }
99 11 0 if index($e->{'diagnosis'}, "for TEXT command") != -1
100 11 0 if index($e->{'diagnosis'}, "SMTP error") != -1
110 11 6 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}