Condition Coverage

lib/Sisimai/Lhost/MailRu.pm
Criterion Covered Total %
condition 8 21 38.1


and 3 conditions

line !l l&&!r l&&r condition
152 56 0 0 exists $e->{'alterrors'} and $e->{'alterrors'}

or 2 conditions

line l !l condition
17 402 1 shift() // (return undef)
18 402 0 shift() // (return undef)
209 41 15 $e->{'command'} ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
154 0 0 0 $e->{'diagnosis'} ||= $e->{'alterrors'}
155 0 0 0 index($e->{'diagnosis'}, "-") == 0 or substr($e->{'diagnosis'}, -2, 2) eq "__"
177 0 56 0 $e->{'lhost'} ||= $localhost0
190 0 0 51 $e->{'command'} eq "HELO" or $e->{'command'} eq "EHLO"