Branch Coverage

lib/Sisimai/Lhost/qmail.pm
Criterion Covered Total %
branch 44 46 95.6


line true false branch
27 242 881 if grep {$mhead->{'subject'} eq $_;} @$emailtitle
32 147 2007 if "Sisimai::String"->aligned(\$e, ["(qmail", " invoked "])
34 881 242 if $proceedsto == 0
157 928 1337 unless ($readcursor)
159 215 713 if grep {index($e, $_) != -1;} @{$$startingof{"message"}}
162 255 1082 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
170 230 852 if (index($e, '<') == 0 and 'Sisimai::String'->aligned(\$e, ['<', '@', '>:'])) { }
558 294 elsif (scalar @$dscontents == $recipients) { }
172 15 215 if ($v->{'recipient'})
183 147 411 if index($e, $startingof->{'error'}[0]) == 0
185 57 501 if $v->{'rhost'}
188 1257 91 if $p1 == -1
190 70 21 if $p2 == -1
197 27 215 unless $recipients
206 792 111 unless grep {index($e->{'diagnosis'}, $_) > 0;} @{$$commandset{$r}}
210 6 224 if (index($e->{'diagnosis'}, "no SMTP connection got far enough") != -1)
216 5 225 if ($e->{'command'} eq 'HELO' or $e->{'command'} eq 'EHLO') { }
222 5 220 if ('Sisimai::String'->aligned(\$e->{'diagnosis'}, $onholdpair)) { }
230 0 435 if $e->{'reason'}
231 83 352 unless $f
234 2675 40 unless grep {index($f, $_) != -1;} @{$$messagesof{$r}}
240 1248 0 unless grep {index($f, $_) != -1;} @{$$failonldap{$r}}
244 5 307 if index($f, $hasexpired) != -1