Condition Coverage

blib/lib/WebService/Async/UserAgent/NaHTTP.pm
Criterion Covered Total %
condition 7 20 35.0


and 3 conditions

line !l l&&!r l&&r condition
40 1 0 0 defined $host and defined $port

or 2 conditions

line l !l condition
68 1 0 $self->parallel // 1

or 3 conditions

line l !l&&r !l&&!r condition
42 0 1 0 $host //= $h
43 0 1 0 $port //= $p
45 0 0 1 delete $args{'ssl'} // $req->uri->scheme eq 'https'
56 1 0 0 $port || ($ssl ? 443 : 80)
68 0 1 0 $$self{'jar'} ||= 'HTTP::Cookies'->new