| lib/Sisimai/Lhost/Sendmail.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 23 | 34 | 67.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 169 | 429 | 0 | 56 | exists $anotherset->{'diagnosis'} and $anotherset->{'diagnosis'} |
| 182 | 439 | 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 | 798 | 1 | shift() // (return undef) |
| 17 | 798 | 0 | shift() // (return undef) |
| 165 | 5 | 0 | $permessage->{$_} || '' |
| 166 | 391 | 94 | $commandtxt || '' |
| 167 | 391 | 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 | 400 | 85 | 0 | $e->{'lhost'} ||= $permessage->{'rhost'} |
| 165 | 1376 | 5 | 0 | $e->{$_} ||= $permessage->{$_} || '' |
| 166 | 0 | 391 | 94 | $e->{'command'} ||= $commandtxt || '' |
| 172 | 36 | 20 | 0 | $e->{'diagnosis'} ||= $anotherset->{'diagnosis'} |