Condition Coverage

lib/Sisimai/Lhost/Exim.pm
Criterion Covered Total %
condition 66 92 71.7


and 3 conditions

line !l l&&!r l&&r condition
52 301 0 1092 $proceedsto < 2 and $thirdparty == 0
178 16 248 10 $thirdparty == 0 and $cx eq "<"
205 243 0 21 $p1 > 1 and $p2 > 1
327 279 0 10 not $e->{'diagnosis'} and length $boundary00 > 0

or 2 conditions

line l !l condition
16 1406 3 shift() // (return undef)
17 1403 3 shift() // (return undef)
22 1288 105 $mhead->{'message-id'} || ''
48 0 11 $thirdparty ||= 1
49 0 0 $thirdparty ||= 1
50 11 0 $thirdparty ||= 1
51 11 5 $thirdparty ||= 1
321 279 0 $mhead->{'received'} || []
326 30 259 $e->{'alterrors'} ||= ""
341 0 10 $dscontents->[0]{'diagnosis'} || ''
380 183 30 'Sisimai::SMTP::Command'->find($e->{'diagnosis'}) || (next)
401 0 0 $e->{'reason'} ||= "expired"
416 224 65 'Sisimai::SMTP::Reply'->find($e->{'diagnosis'}, $e->{'status'}) || ''
417 139 150 'Sisimai::SMTP::Status'->find($e->{'diagnosis'}, $cr) || ''
418 86 203 $e->{'reason'} || ''
427 183 106 $e->{'command'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
35 41 1024 223 index($messageidv, "<") != 0 or index($messageidv, "-") != 8
1065 0 223 index($messageidv, "<") != 0 or index($messageidv, "-") != 8 or index($messageidv, "\@") != 18
155 743 811 2584 ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
183 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
254 0 30 0 $v->{'spec'} ||= rindex($o->[2], "\@") != -1 ? "SMTP" : "X-UNIX"
296 0 0 6 not $q->{'recipient'} or rindex($q->{'recipient'}, "\@") == -1
342 10 0 0 $e->{'spec'} ||= $dscontents->[0]{'spec'}
348 20 10 0 $e->{'diagnosis'} ||= $e->{'alterrors'}
350 0 0 30 index($e->{'diagnosis'}, "-") == 0 or substr($e->{'diagnosis'}, -2, 2) eq "__"
371 193 76 0 $e->{'rhost'} ||= $recvdtoken->[1]
373 30 253 6 $e->{'lhost'} ||= $recvdtoken->[0]
385 0 5 284 $e->{'command'} eq "HELO" or $e->{'command'} eq "EHLO"
421 10 0 279 "Sisimai::SMTP::Failure"->is_temporary($cr) or $re eq "expired"
425 0 224 65 $e->{'replycode'} ||= $cr
426 30 129 130 $e->{'status'} ||= "Sisimai::SMTP::Status"->prefer($cv, $cs, $cr)