Condition Coverage

lib/Sisimai/SMTP/Error.pm
Criterion Covered Total %
condition 27 28 96.4


or 2 conditions

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 2848 1 shift() || (return undef)
65 2808 40 shift() || ''
89 22 15 'Sisimai::SMTP::Status'->find($argv2) || 'Sisimai::SMTP::Reply'->find($argv2) || ''
90 22 15 substr($statuscode, 0, 1) || 0
109 2847 1 $value //= ""

or 3 conditions

line l !l&&r !l&&!r condition
38 10 0 368 rindex($v, "temporar") > -1 or rindex($v, "persistent") > -1
77 1 1 2846 $argv1 eq "delivered" or $argv1 eq "feedback"
2 1 2845 $argv1 eq "delivered" or $argv1 eq "feedback" or $argv1 eq "vacation"
22 23 2800 $argv1 eq "onhold" or $argv1 eq "undefined"