Branch Coverage

blib/lib/HTTP/ProxyPAC.pm
Criterion Covered Total %
branch 24 44 54.5


line true false branch
14 0 3 if (-e 'blib/HTTP/ProxyPAC/Functions.pm') { }
3 0 elsif (-e 'lib/HTTP/ProxyPAC/Functions.pm') { }
28 0 10 if ($options{'interp'} and $options{'interp'} =~ /javascript|js/i) { }
10 0 elsif ($options{'interp'} and $options{'interp'} =~ /je/i) { }
30 0 0 if ($@)
31 0 0 if (-e 't/00_compile.t')
38 0 0 if ($@)
41 0 0 if ($@) { }
49 2 8 if (blessed $stuff and $stuff->isa('URI')) { }
0 8 elsif (blessed $stuff and $stuff->isa('IO::Handle')) { }
2 6 elsif (ref $stuff and ref $stuff eq 'GLOB') { }
2 4 elsif (ref $stuff and ref $stuff eq 'SCALAR') { }
4 0 elsif (not ref $stuff) { }
79 0 2 if ($res->content_type ne 'application/x-ns-proxy-autoconfig')
95 0 4 unless open my $fh, $file
107 10 0 if ($useJE) { }
113 5 5 $usePerlLib ? :
116 70 0 if ($useJE) { }
123 5 5 unless ($usePerlLib)
125 10 0 if ($useJE) { }
136 0 24 unless defined $url
145 2 22 wantarray ? :