Branch Coverage

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


line true false branch
16 893 21 unless defined $mhead->{'x-gmx-antispam'}
37 21 209 unless ($readcursor)
39 21 0 if index($e, $startingof->{'message'}[0]) == 0
42 47 162 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
56 26 136 if (index($e, '@') > 1 and index($e, '"') == 0 || index($e, '<') == 0) { }
21 115 elsif (index($e, 'SMTP error ') == 0) { }
21 94 elsif (index($e, 'host: ') == 0) { }
63 5 21 if ($v->{'recipient'})
81 0 94 unless $e
85 0 21 unless $recipients
93 21 5 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}