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)
130 0 0 if (ref $con eq 'AnyEvent::SOCKS::Client')
146 0 0 unless ($fh)
155 0 0 $fatal ? :
156 0 0 unless $hd->destroyed
160 0 0 if ($that->{'v'} =~ /4a?/)
173 0 0 $next ? :
176 0 0 if ($that->{'v'} eq '4' and not $ip4)
181 0 0 if ($host =~ /:/)
186 0 0 $ip4 ? :
192 0 0 unless ($code == 90)
204 0 0 if ($that->{'login'} and $that->{'password'})
213 0 0 if ($method == 255)
218 0 0 if ($method) { }
230 0 0 if ($method == 2 and $that->{'login'} and $that->{'password'})
237 0 0 if ($status == 0)
253 0 0 $next ? :
256 0 0 if ($ip = &parse_ipv4($host)) { }
0 0 elsif ($ip = &parse_ipv6($host)) { }
272 0 0 unless ($status == 0)
285 0 0 if ($type == 1) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 3) { }
320 0 0 if (@{$self->{'chain'};})
335 0 0 if $self->{'hd'} and not $self->{'hd'}->destroyed
336 0 0 if $self->{'c_cb'}