Branch Coverage

blib/lib/LWP/Protocol/AnyEvent/http.pm
Criterion Covered Total %
branch 15 36 41.6


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 1 if $headers{'HTTPVersion'}
69 2 29 if (exists $$headers{'set-cookie'})
110 15 1 unless exists $headers{'referer'}
121 0 16 if defined $size
122 0 16 if defined $size
125 16 0 if defined $body
126 16 0 if defined $timeout
128 0 16 if ($url->scheme eq 'https')
132 1 15 if ($proxy)
177 12 20 unless (@data_queue)