Branch Coverage

blib/lib/LWP/UserAgent/ProxyAny.pm
Criterion Covered Total %
branch 4 36 11.1


line true false branch
16 1 0 if $ie_proxy_server eq ''
19 0 0 if ($ie_proxy_server =~ /;/) { }
28 0 0 //i ? :
0 0 if $ie_proxy_no ne ''
33 2 0 unless $^O eq 'MSWin32'
36 0 0 if $@
37 0 0 unless my $iekey = $RegHash{'CUser/Software/Microsoft/Windows/CurrentVersion/Internet Settings/'}
38 0 0 unless my $ie_proxy_enable = $$iekey{'/ProxyEnable'}
39 0 0 unless my $ie_proxy_server = $$iekey{'/ProxyServer'}
41 0 0 if defined $ie_proxy_no
42 0 0 $ie_proxy_enable =~ /1$/ ? :
46 0 0 unless $^O eq 'MSWin32'
48 0 0 if $@
51 0 0 unless $main::HKEY_CURRENT_USER->Open('SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings', $iekey)
57 0 0 if defined $ie_proxy_no
58 0 0 defined $ie_proxy_enable && $ie_proxy_enable =~ /1$/ && defined $ie_proxy_server ? :
67 0 1 if $proxy_name =~ /^No$/i or $proxy_name eq ''
70 0 1 if ($proxy_name =~ /^(System|Default)/i)