Condition Coverage

lib/Sisimai/Lhost/EZweb.pm
Criterion Covered Total %
condition 16 22 72.7


and 3 conditions

line !l l&&!r l&&r condition
148 6 0 34 exists $e->{'alterrors'} and $e->{'alterrors'}
159 34 0 6 defined $mhead->{'x-spasign'} and $mhead->{'x-spasign'} eq "NG"

or 2 conditions

line l !l condition
16 221 1 shift() // (return undef)
17 221 0 shift() // (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
106 16 9 189 $e =~ /\A[<]([^ ]+[\@][^ ]+)[>]\z/ or $e =~ /\A[<]([^ ]+[\@][^ ]+)[>]:?(.*)\z/
25 15 174 $e =~ /\A[<]([^ ]+[\@][^ ]+)[>]\z/ or $e =~ /\A[<]([^ ]+[\@][^ ]+)[>]:?(.*)\z/ or $e =~ /\A[ \t]+Recipient: [<]([^ ]+[\@][^ ]+)[>]/
150 19 15 0 $e->{'diagnosis'} ||= $e->{'alterrors'}
151 0 0 34 index($e->{'diagnosis'}, "-") == 0 or substr($e->{'diagnosis'}, -2, 2) eq "__"