Branch Coverage

blib/lib/LWP/Protocol/AnyEvent/http.pm
Criterion Covered Total %
branch 16 46 34.7


line true false branch
29 0 0 unless $self->{'ua'}{'ssl_opts'}
34 0 0 if defined $ssl_opts{'SSL_verifycn_scheme'} and $ssl_opts{'SSL_verifycn_scheme'} eq 'www'
35 0 0 if exists $ssl_opts{'SSL_ca_file'}
36 0 0 if exists $ssl_opts{'SSL_ca_path'}
37 0 0 if exists $ssl_opts{'SSL_cert_file'}
38 0 0 if exists $ssl_opts{'SSL_cert'}
39 0 0 if exists $ssl_opts{'SSL_key_file'}
40 0 0 if exists $ssl_opts{'SSL_key'}
42 0 0 if ($ssl_opts{'verify_hostname'})
48 0 0 if ($tls_ctx{'verify'} and not exists $tls_ctx{'ca_file'} || exists $tls_ctx{'ca_path'})
49 0 0 unless (eval { do { require Mozilla::CA } })
50 0 0 if (not $@ =~ m[^Can\'t locate Mozilla/CA\.pm]) { }
71 30 1 if $headers{'HTTPVersion'}
78 2 29 if (exists $headers->{'set-cookie'})
119 15 1 unless exists $headers{'referer'}
130 0 16 if defined $size
131 0 16 if defined $size
134 16 0 if defined $body
135 16 0 if defined $timeout
137 0 16 if (($proxy || $url)->scheme eq 'https')
141 15 1 if (not $proxy) { }
0 1 elsif ($proxy =~ /^socks/) { }
193 15 17 unless (@data_queue)