Condition Coverage

lib/Sisimai/Lhost/Sendmail.pm
Criterion Covered Total %
condition 41 53 77.3


and 3 conditions

line !l l&&!r l&&r condition
95 2125 1267 122 $o->[3] eq "host" and "Sisimai::RFC1123"->is_internethost($o->[2]) == 0
130 209 0 10 index($e, "<") == 0 and "Sisimai::String"->aligned(\$e, ["\@", ">.", " "])
172 468 0 67 exists $anotherset->{'diagnosis'} and $anotherset->{'diagnosis'}

or 2 conditions

line l !l condition
17 1506 1 shift() // (return undef)
18 1505 1 shift() // (return undef)
21 0 522 $match ||= 1
22 0 20 $match ||= 1
139 47 162 'Sisimai::SMTP::Reply'->find($e) || ''
140 47 162 'Sisimai::SMTP::Status'->find($e) || ''
170 10 0 $permessage->{$_} || ''
187 443 92 $thecommand || 'Sisimai::SMTP::Command'->find($e->{'diagnosis'}) || ''
188 443 20 $e->{'command'} ||= "EHLO"
202 5 0 'Sisimai::Address'->find($e->{'diagnosis'}, 1) || []

or 3 conditions

line l !l&&r !l&&!r condition
63 0 1087 7905 ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
113 85 428 0 $thecommand ||= "Sisimai::SMTP::Command"->find($e)
141 40 5 117 index($e, "Message ") == 0 or index($e, "Warning: ") == 0
158 20 0 5 index($p, "Diagnostic-Code:") != 0 or index($e, " ") != 0
170 1060 10 0 $e->{$_} ||= $permessage->{$_} || ''
176 37 30 0 $e->{'diagnosis'} ||= $anotherset->{'diagnosis'}
182 72 20 443 scalar @$esmtpreply == 0 or $recipients != 1
187 0 443 92 $e->{'command'} ||= $thecommand || 'Sisimai::SMTP::Command'->find($e->{'diagnosis'}) || ''