Branch Coverage

blib/lib/LWP/Protocol/AnyEvent/http.pm
Criterion Covered Total %
branch 15 44 34.0


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 1 if $headers{'HTTPVersion'}
73 2 29 if (exists $headers->{'set-cookie'})
114 15 1 unless exists $headers{'referer'}
125 0 16 if defined $size
126 0 16 if defined $size
129 16 0 if defined $body
130 16 0 if defined $timeout
132 0 16 if ($url->scheme eq 'https')
136 1 15 if ($proxy)
181 13 19 unless (@data_queue)