Branch Coverage

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


line true false branch
89 0 0 if ($_[0] =~ /$re/gi)
108 0 0 unless (@{$self->{'chain'};})
112 0 0 if ($self->{'c_cb'})
124 0 0 unless ($fh)
132 0 0 $fatal ? :
133 0 0 unless $hd->destroyed
137 0 0 if ($that->{'v'} =~ /4a?/)
150 0 0 $next ? :
153 0 0 if ($that->{'v'} eq '4' and not $ip4)
158 0 0 if ($host =~ /:/)
163 0 0 $ip4 ? :
169 0 0 unless ($code == 90)
181 0 0 if ($that->{'login'} and $that->{'password'})
190 0 0 if ($method == 255)
195 0 0 if ($method) { }
207 0 0 if ($method == 2 and $that->{'login'} and $that->{'password'})
214 0 0 if ($status == 0)
230 0 0 $next ? :
233 0 0 if ($ip = &parse_ipv4($host)) { }
0 0 elsif ($ip = &parse_ipv6($host)) { }
249 0 0 unless ($status == 0)
262 0 0 if ($type == 1) { }
0 0 elsif ($type == 4) { }
0 0 elsif ($type == 3) { }
297 0 0 if (@{$self->{'chain'};})
303 0 0 if $self->{'c_cb'}->($self->{'hd'}->fh)
309 0 0 if $self->{'hd'} and not $self->{'hd'}->destroyed
310 0 0 if $self->{'c_cb'}