lib/Sisimai/Lhost/Sendmail.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 34 | 67.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
169 | 423 | 0 | 56 | exists $anotherset->{'diagnosis'} and $anotherset->{'diagnosis'} |
182 | 433 | 0 | 46 | exists $anotherset->{'status'} and $anotherset->{'status'} |
184 | 0 | 0 | 46 | $e->{'status'} and $e->{'status'} =~ /\A[45][.]\d[.]\d{1,3}\z/ |
line | l | !l | condition |
---|---|---|---|
16 | 792 | 1 | shift() // (return undef) |
17 | 792 | 0 | shift() // (return undef) |
165 | 5 | 0 | $permessage->{$_} || '' |
166 | 385 | 94 | $commandtxt || '' |
167 | 385 | 24 | $e->{'command'} ||= "EHLO" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
134 | 0 | 5 | 154 | index($e, "Message: ") == 0 or index($e, "Warning: ") == 0 |
164 | 394 | 85 | 0 | $e->{'lhost'} ||= $permessage->{'rhost'} |
165 | 1358 | 5 | 0 | $e->{$_} ||= $permessage->{$_} || '' |
166 | 0 | 385 | 94 | $e->{'command'} ||= $commandtxt || '' |
172 | 36 | 20 | 0 | $e->{'diagnosis'} ||= $anotherset->{'diagnosis'} |