Condition Coverage

lib/Sisimai/Lhost/X2.pm
Criterion Covered Total %
condition 20 27 74.0


and 3 conditions

line !l l&&!r l&&r condition
70 96 0 41 index($e, "<") == 0 and "Sisimai::String"->aligned(\$e, ["<", "\@", ">:"])
91 0 5 index($e, "Delivery failed: ") == 0 and "Sisimai::String"->aligned(\$e, ["failed: ", "\@"])

or 2 conditions

line l !l condition
16 912 1 shift() // (return undef)
17 911 1 shift() // (return undef)
18 0 318 $match ||= 1
19 16 5 $match ||= 1
20 5 0 $match ||= 1
21 5 0 $match ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
46 0 51 137 ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
70 41 5 91 index($e, "<") == 0 and "Sisimai::String"->aligned(\$e, ["<", "\@", ">:"]) or index($e, "Delivery failed: ") == 0 and "Sisimai::String"->aligned(\$e, ["failed: ", "\@"])
80 41 5 0 $v->{'recipient'} ||= substr($e, index($e, ": ") + 2)