Condition Coverage

lib/Sisimai/Lhost/Exim.pm
Criterion Covered Total %
condition 71 95 74.7


and 3 conditions

line !l l&&!r l&&r condition
51 301 0 1094 $proceedsto < 2 and $thirdparty == 0
219 16 248 10 $thirdparty == 0 and $cx eq "<"
246 243 0 21 $p1 > 1 and $p2 > 1
368 279 0 10 not $e->{'diagnosis'} and length $boundary00 > 0

or 2 conditions

line l !l condition
16 1398 3 shift() // (return undef)
17 1395 3 shift() // (return undef)
21 1291 104 $mhead->{'message-id'} || ''
47 0 11 $thirdparty ||= 1
48 0 0 $thirdparty ||= 1
49 11 0 $thirdparty ||= 1
50 11 5 $thirdparty ||= 1
362 279 0 $mhead->{'received'} || []
367 30 259 $e->{'alterrors'} ||= ""
382 0 10 $dscontents->[0]{'diagnosis'} || ''
421 183 30 'Sisimai::SMTP::Command'->find($e->{'diagnosis'}) || (next)
446 0 10 $e->{'reason'} ||= "mailererror"
463 224 65 'Sisimai::SMTP::Reply'->find($e->{'diagnosis'}, $e->{'status'}) || ''
464 139 150 'Sisimai::SMTP::Status'->find($e->{'diagnosis'}, $cr) || ''
465 131 158 $e->{'reason'} || ''
475 183 106 $e->{'command'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
34 41 1027 223 index($messageidv, "<") != 0 or index($messageidv, "-") != 8
1068 0 223 index($messageidv, "<") != 0 or index($messageidv, "-") != 8 or index($messageidv, "\@") != 18
196 743 811 2584 ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
224 264 0 2320 $ce == 1 or grep {index($e, $_) > 0;} @{$$startingof{"alias"}}
6 30 2284 index($e, " (generated from ") > 0 or index($e, " generated by ") > 0
295 0 30 0 $v->{'spec'} ||= rindex($o->[2], "\@") != -1 ? "SMTP" : "X-UNIX"
337 0 0 6 not $q->{'recipient'} or rindex($q->{'recipient'}, "\@") == -1
383 10 0 0 $e->{'spec'} ||= $dscontents->[0]{'spec'}
389 20 10 0 $e->{'diagnosis'} ||= $e->{'alterrors'}
391 0 0 30 index($e->{'diagnosis'}, "-") == 0 or substr($e->{'diagnosis'}, -2, 2) eq "__"
412 193 76 0 $e->{'rhost'} ||= $recvdtoken->[1]
414 30 253 6 $e->{'lhost'} ||= $recvdtoken->[0]
426 0 5 284 $e->{'command'} eq "HELO" or $e->{'command'} eq "EHLO"
468 10 15 264 "Sisimai::SMTP::Failure"->is_temporary($cr) or $re eq "expired"
25 10 254 "Sisimai::SMTP::Failure"->is_temporary($cr) or $re eq "expired" or $re eq "mailboxfull"
472 0 224 65 $e->{'replycode'} ||= $cr
473 30 149 110 $e->{'status'} ||= "Sisimai::SMTP::Status"->prefer($cv, $cs, $cr)