Branch Coverage

lib/Sisimai/Lhost/qmail.pm
Criterion Covered Total %
branch 39 40 97.5


line true false branch
27 242 879 if grep {$mhead->{'subject'} eq $_;} @$emailtitle
32 147 1994 if "Sisimai::String"->aligned(\$e, ["(qmail", " invoked "])
34 879 242 if $proceedsto == 0
107 928 1337 unless ($readcursor)
109 215 713 if grep {index($e, $_) != -1;} @{$$startingof{"message"}}
112 255 1082 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
120 230 852 if (index($e, '<') == 0 and 'Sisimai::String'->aligned(\$e, ['<', '@', '>:'])) { }
558 294 elsif (scalar @$dscontents == $recipients) { }
122 15 215 if ($v->{'recipient'})
133 147 411 if index($e, $startingof->{'error'}[0]) == 0
135 57 501 if $v->{'rhost'}
138 1257 91 if $p1 == -1
140 70 21 if $p2 == -1
147 27 215 unless $recipients
153 734 111 unless grep {index($e->{'diagnosis'}, $_) > 0;} @{$$commandset{$r}}
157 6 224 if (index($e->{'diagnosis'}, "no SMTP connection got far enough") != -1)
163 5 225 if ($e->{'command'} eq 'HELO' or $e->{'command'} eq 'EHLO') { }
171 0 450 if $e->{'reason'}
172 83 367 unless $f
175 713 15 unless grep {index($f, $_) != -1;} @{$$messagesof{$r}}