Branch Coverage

blib/lib/AnyEvent/SOCKS/Client.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
91 0 0 if ($_[0] =~ /$re/gi)
102 0 0 unless (@chain)
108 0 0 if (my $p = _parse_uri($_))
126 0 0 if (defined wantarray and not wantarray)
130 0 0 if ref $con eq 'AnyEvent::SOCKS::Client'
143 0 0 unless ($fh)
152 0 0 $fatal ? :
153 0 0 unless $hd->destroyed
157 0 0 if ($that->{'v'} =~ /4a?/)
170 0 0 $next ? :
173 0 0 if ($that->{'v'} eq '4' and not $ip4)
178 0 0 if ($host =~ /:/)
183 0 0 $ip4 ? :
189 0 0 unless ($code == 90)
201 0 0 if ($that->{'login'} and $that->{'password'})
210 0 0 if ($method == 255)
215 0 0 if ($method) { }
227 0 0 if ($method == 2 and $that->{'login'} and $that->{'password'})
234 0 0 if ($status == 0)
250 0 0 $next ? :
253 0 0 if ($ip = &parse_ipv4($host)) { }
0 0 elsif ($ip = &parse_ipv6($host)) { }
269 0 0 unless ($status == 0)
282 0 0 if ($type == 1) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 3) { }
317 0 0 if (@{$self->{'chain'};})
332 0 0 if $self->{'hd'} and not $self->{'hd'}->destroyed
333 0 0 if $self->{'c_cb'}