Condition Coverage

blib/lib/Mojo/Weixin/Request.pm
Criterion Covered Total %
condition 0 36 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'}
114 0 0 0 defined $tx and $tx->res->is_success
151 0 0 0 defined $tx and $tx->res->is_success
184 0 0 0 $domain and $domain ne $self->domain
205 0 0 0 @tmp == 1 and ref $tmp[0] eq 'ARRAY'

or 2 conditions

line l !l condition
119 0 0 $tx->error->{'code'} || '-'
157 0 0 $tx->error->{'code'} || '-'
202 0 0 shift() // 'value'

or 3 conditions

line l !l&&r !l&&!r condition
134 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'}
183 0 0 0 $self->search_cookie('wxuin', 'domain') // $self->search_cookie('wxsid', 'domain')