Condition Coverage

blib/lib/Mojo/Webqq/Request.pm
Criterion Covered Total %
condition 0 34 0.0


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 0 defined $req_content_type and $req_content_type =~ m[^multipart/form-data; boundary=(.+?)$]
71 0 0 0 defined $res_content_type and $res_content_type =~ m[^(image|video|auido)/|^application/octet-stream]
107 0 0 0 ref $_[-1] eq 'CODE' and not $opt{'blocking'}
113 0 0 0 defined $tx and $tx->success
118 0 0 0 $tx->req->url->host eq 'd1.web2.qq.com' and $tx->req->url->path eq '/channel/poll2'
0 0 0 $tx->req->url->host eq 'd1.web2.qq.com' and $tx->req->url->path eq '/channel/poll2' and &first(sub { $tx->res->code == $_; } , @{$self->ignore_poll_http_code;})
154 0 0 0 defined $tx and $tx->success
199 0 0 0 @tmp == 1 and ref $tmp[0] eq 'ARRAY'

or 2 conditions

line l !l condition
122 0 0 $tx->error->{'code'} || '-'
160 0 0 $tx->error->{'code'} || '-'

or 3 conditions

line l !l&&r !l&&!r condition
137 0 0 0 $opt{'ua_connect_timeout'} or $opt{'ua_request_timeout'}
0 0 0 $opt{'ua_connect_timeout'} or $opt{'ua_request_timeout'} or $opt{'ua_inactivity_timeout'}