| lib/Sisimai/SMTP/Transcript.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 24 | 83.3 |
| line | l | !l | condition |
|---|---|---|---|
| 19 | 11 | 1 | shift() // (return undef) |
| 20 | 9 | 2 | shift() // ">>>" |
| 21 | 8 | 3 | shift() // "<<<" |
| 65 | 42 | 0 | 'Sisimai::SMTP::Command'->find($e) || (next) |
| 107 | 120 | 0 | 'Sisimai::SMTP::Reply'->find($e) || '' |
| 108 | 36 | 84 | 'Sisimai::SMTP::Status'->find($e) || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 73 | 6 | 6 | 30 | $thecommand eq "MAIL" or $thecommand eq "RCPT" |
| 12 | 12 | 18 | $thecommand eq "MAIL" or $thecommand eq "RCPT" or $thecommand eq "XFORWARD" | |
| 75 | 6 | 6 | 12 | index($commandarg, "FROM:") == 0 or index($commandarg, "TO:") == 0 |
| 94 | 0 | 0 | 54 | index($f, "=") < 1 or length $f < 3 |