| lib/Sisimai/Lhost/MessagingServer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 26 | 61.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 69 | 61 | 0 | 5 | $v->{'recipient'} and $cv ne $v->{'recipient'} |
| line | l | !l | condition |
|---|---|---|---|
| 16 | 932 | 1 | shift() // (return undef) |
| 17 | 931 | 1 | shift() // (return undef) |
| 18 | 0 | 61 | $match ||= 1 |
| 19 | 61 | 0 | $match ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 40 | 0 | 441 | 1526 | ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq "" |
| 62 | 66 | 5 | 1455 | "Sisimai::String"->aligned(\$e, [" Recipient address: ", "\@", "."]) or "Sisimai::String"->aligned(\$e, [" Original address: ", "\@", "."]) |
| 126 | 66 | 0 | 0 | $v->{'diagnosis'} ||= substr($e, $p2 + 1, index($e, ")") - $p2 - 1) |
| 130 | 51 | 0 | 0 | $v->{'date'} ||= substr($e, index($e, ":") + 2) |
| 135 | 0 | 61 | 0 | $v->{'lhost'} ||= $localhost |