Branch Coverage

blib/lib/LWP/Protocol/Coro/http.pm
Criterion Covered Total %
branch 13 42 30.9


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'}
31 0 0 if exists $ssl_opts{'SSL_cert_file'}
32 0 0 if exists $ssl_opts{'SSL_cert'}
33 0 0 if exists $ssl_opts{'SSL_key_file'}
34 0 0 if exists $ssl_opts{'SSL_key'}
36 0 0 if ($ssl_opts{'verify_hostname'})
42 0 0 if ($tls_ctx{'verify'} and not exists $tls_ctx{'ca_file'} || exists $tls_ctx{'ca_path'})
43 0 0 unless (eval { do { require Mozilla::CA } })
44 0 0 if (not $@ =~ m[^Can\'t locate Mozilla/CA\.pm]) { }
66 30 2 if $headers{'HTTPVersion'}
73 2 30 if (exists $headers->{'set-cookie'})
114 16 1 unless exists $headers{'referer'}
124 0 17 if defined $size
125 0 17 if defined $size
128 17 0 if defined $body
129 17 0 if defined $timeout
131 0 17 if ($url->scheme eq 'https')
135 1 16 if ($proxy)