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'}
113 0 0 0 defined $tx and $tx->result->is_success
149 0 0 0 defined $tx and $tx->result->is_success
182 0 0 0 $domain and $domain ne $self->domain
203 0 0 0 @tmp == 1 and ref $tmp[0] eq 'ARRAY'

or 2 conditions

line l !l condition
118 0 0 $tx->error->{'code'} || '-'
155 0 0 $tx->error->{'code'} || '-'
200 0 0 shift() // 'value'

or 3 conditions

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