Branch Coverage

blib/lib/LWP/Protocol/Coro/http.pm
Criterion Covered Total %
branch 13 34 38.2


line true false branch
23 0 0 unless $$self{'ua'}{'ssl_opts'}
28 0 0 if defined $ssl_opts{'SSL_verifycn_scheme'} and $ssl_opts{'SSL_verifycn_scheme'} eq 'www'
29 0 0 if exists $ssl_opts{'SSL_ca_file'}
30 0 0 if exists $ssl_opts{'SSL_ca_path'}
32 0 0 if ($ssl_opts{'verify_hostname'})
38 0 0 if ($tls_ctx{'verify'} and not exists $tls_ctx{'ca_file'} || exists $tls_ctx{'ca_path'})
39 0 0 unless (eval { do { require Mozilla::CA } })
40 0 0 if (not $@ =~ m[^Can\'t locate Mozilla/CA\.pm]) { }
62 30 2 if $headers{'HTTPVersion'}
69 2 30 if (exists $$headers{'set-cookie'})
110 16 1 unless exists $headers{'referer'}
120 0 17 if defined $size
121 0 17 if defined $size
124 17 0 if defined $body
125 17 0 if defined $timeout
127 0 17 if ($url->scheme eq 'https')
131 1 16 if ($proxy)