| lib/Sisimai/Lhost/mFILTER.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 31 | 80.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 28 | 804 | 77 | 22 | defined $mhead->{'x-mailer'} and $mhead->{'x-mailer'} eq "m-FILTER" |
| 45 | 120 | 0 | 42 | index($e, "\@") > 1 and index($e, " ") == -1 |
| 120 | 15 | 27 | index($e, "\@") > 1 and index($e, " ") == -1 and "Sisimai::Address"->is_emailaddress($e) | |
| 68 | 92 | 16 | 27 | index($e, "\@") > 0 and index($e, " ") == -1 |
| 81 | 0 | 27 | length $e == 4 and index($e, " ") == -1 |
| line | l | !l | condition |
|---|---|---|---|
| 16 | 904 | 1 | shift() // (return undef) |
| 17 | 903 | 1 | shift() // (return undef) |
| 29 | 22 | 5 | $proceedsto ||= 1 |
| 30 | 27 | 0 | $proceedsto ||= 1 |
| 31 | 27 | 0 | $proceedsto ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 49 | 135 | 81 | 135 | ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq "" |
| 113 | 0 | 27 | 0 | $e->{'lhost'} ||= shift @{"Sisimai::RFC5322"->received($rheads->[0])} |