Condition Coverage

blib/lib/AnyEvent/UserAgent.pm
Criterion Covered Total %
condition 18 36 50.0


and 3 conditions

line !l l&&!r l&&r condition
63 1 9 0 $uri->can('userinfo') and $uri->userinfo
10 0 0 $uri->can('userinfo') and $uri->userinfo and not $hdrs->authorization
125 7 0 3 $res->code >= 590 and $res->code <= 599
7 0 3 $res->code >= 590 and $res->code <= 599 and $res->message
163 0 1 0 $code == 302 || $code == 303 and not $meth eq 'GET' || $meth eq 'HEAD'
176 1 0 0 $proto eq 'https' and $uri->scheme eq 'http'

or 3 conditions

line l !l&&r !l&&!r condition
140 0 2 8 $code == 301 or $code == 302
2 0 8 $code == 301 or $code == 302 or $code == 303
2 0 8 $code == 301 or $code == 302 or $code == 303 or $code == 307
0 0 8 $code == 301 or $code == 302 or $code == 303 or $code == 307 or $code == 308
163 1 0 0 $code == 302 || $code == 303
1 0 0 $meth eq 'GET' || $meth eq 'HEAD'