Branch Coverage

blib/lib/Any/Daemon/HTTP/Proxy.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
33 0 0 if (my $fm = $args->{'forward_map'})
34 0 0 $fm eq 'RELAY' ? :
37 0 0 if (my $rem = $args->{'remote_proxy'})
38 0 0 ref $rem eq 'CODE' ? :
71 0 0 $rem ? :
81 0 0 $vhost ? :
89 0 0 if (my $via = $req->header('Via')) { }
91 0 0 if $_ ne $my_via
106 0 0 if (@proxies) { }
108 0 0 if ($proxies[0] ne $last_used_proxy)
110 0 0 if grep(($_ eq $last_used_proxy), @proxies)
120 0 0 if $proxy ne $last_used_proxy
133 0 0 unless $resp->is_error
161 0 0 ref $_[0] eq 'ARRAY' ? :
0 0 @_ > 1 ? :
169 0 0 ref $field eq 'Regex' ? :
0 0 ref $field eq 'CODE' ? :
0 0 !ref($field) ? :
172 0 0 unless @strip
179 0 0 if @_ == 1 and ref $_[0] eq 'CODE'
181 0 0 defined $_[0] ? :
0 0 @_ > 1 ? :
182 0 0 unless @pairs
197 0 0 unless $self->allow($session, $req, $uri)
198 0 0 unless my $mapper = $self->forwardMap