lib/Sisimai/SMTP/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 28 | 96.4 |
line | l | !l | condition |
---|---|---|---|
16 | 614 | 11 | shift() || (return undef) |
18 | 236 | 378 | 'Sisimai::SMTP::Status'->find($argv1) || 'Sisimai::SMTP::Reply'->find($argv1) || '' |
21 | 236 | 378 | substr($statuscode, 0, 1) || 0 |
64 | 2815 | 1 | shift() || (return undef) |
65 | 2778 | 37 | shift() || '' |
89 | 22 | 15 | 'Sisimai::SMTP::Status'->find($argv2) || 'Sisimai::SMTP::Reply'->find($argv2) || '' |
90 | 22 | 15 | substr($statuscode, 0, 1) || 0 |
109 | 2814 | 1 | $value //= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
38 | 10 | 0 | 368 | rindex($v, "temporar") > -1 or rindex($v, "persistent") > -1 |
77 | 1 | 1 | 2813 | $argv1 eq "delivered" or $argv1 eq "feedback" |
2 | 1 | 2812 | $argv1 eq "delivered" or $argv1 eq "feedback" or $argv1 eq "vacation" | |
22 | 23 | 2767 | $argv1 eq "onhold" or $argv1 eq "undefined" |