Branch Coverage

lib/Sisimai/Lhost/EinsUndEins.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
20 858 32 unless index($mhead->{'from'}, "\"Mail Delivery System\"") == 0
21 15 17 unless $mhead->{'subject'} eq "Mail delivery failed: returning message to sender"
38 17 149 unless ($readcursor)
40 17 0 if index($e, $startingof->{'message'}[0]) == 0
43 52 97 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
55 17 80 if ($e =~ /\A\s*([^ ]+[\@][^ ]+?)[:]?\z/u) { }
6 74 elsif (index($e, $startingof->{'error'}[0]) == 0) { }
58 0 17 if ($v->{'recipient'})
71 12 62 if (length $v->{'diagnosis'}) { }
83 0 17 unless $recipients
90 11 6 if ('Sisimai::String'->aligned(\$e->{'diagnosis'}, ['host: ', ' reason:'])) { }
98 11 0 if index($e->{'diagnosis'}, "for TEXT command") != -1
99 11 0 if index($e->{'diagnosis'}, "SMTP error") != -1