Condition Coverage

blib/lib/Weixin/UserAgent.pm
Criterion Covered Total %
condition 0 48 0.0


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 0 $uri->can('userinfo') and $uri->userinfo
0 0 0 $uri->can('userinfo') and $uri->userinfo and not $hdrs->authorization
115 0 0 0 $res->code >= 590 and $res->code <= 599
0 0 0 $res->code >= 590 and $res->code <= 599 and $res->message
153 0 0 0 $code == 302 || $code == 303 and not $meth eq 'GET' || $meth eq 'HEAD'
166 0 0 0 $proto eq 'https' and $uri->scheme eq 'http'

or 2 conditions

line l !l condition
12 0 0 $p{'max_redirects'} || 5
0 0 $p{'inactivity_timeout'} || 20
0 0 $p{'request_timeout'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
12 0 0 0 $p{'agent'} || $AnyEvent::HTTP::USERAGENT . ' AnyEvent-UserAgent/' . $VERSION
0 0 0 $p{'cookie_jar'} || 'HTTP::Cookies'->new
130 0 0 0 $code == 301 or $code == 302
0 0 0 $code == 301 or $code == 302 or $code == 303
0 0 0 $code == 301 or $code == 302 or $code == 303 or $code == 307
0 0 0 $code == 301 or $code == 302 or $code == 303 or $code == 307 or $code == 308
153 0 0 0 $code == 302 || $code == 303
0 0 0 $meth eq 'GET' || $meth eq 'HEAD'