Branch Coverage

lib/Sisimai/Lhost/GMX.pm
Criterion Covered Total %
branch 26 30 86.6


line true false branch
23 245 21 unless defined $mhead->{'x-gmx-antispam'}
39 21 209 unless ($readcursor)
41 21 0 if index($e, $startingof->{'message'}[0]) == 0
44 0 209 unless $readcursor & $indicators->{'deliverystatus'}
45 47 162 unless length $e
59 26 136 if ($e =~ /\A["]([^ ]+[\@][^ ]+)["]:\z/ or $e =~ /\A[<]([^ ]+[\@][^ ]+)[>]\z/) { }
21 115 elsif ($e =~ /\ASMTP error .+ ([A-Z]{4}) command:\z/) { }
21 94 elsif ($e =~ /\Ahost:[ \t]*(.+)\z/) { }
66 5 21 if ($v->{'recipient'})
84 21 73 if ($e =~ /\b[45][.]\d[.]\d\b/ or $e =~ /[<][^ ]+[\@][^ ]+[>]/ or $e =~ /\b[45]\d{2}\b/) { }
88 0 73 if $e eq ""
89 5 68 if ($e eq 'Reason:') { }
5 63 elsif ($v->{'diagnosis'} eq 'Reason:') { }
100 0 21 unless $recipients
108 21 5 unless grep {index($e->{'diagnosis'}, $_) > -1;} @{$$messagesof{$r};}