Branch Coverage

blib/lib/IO/Stream/Proxy/SOCKSv5.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
38 0 0 unless defined $opt->{'host'} and defined $opt->{'port'}
61 0 0 unless defined $host
86 0 0 if ($err)
89 0 0 if ($e & 4)
90 0 0 if ($self->{'_state'} == 1) { }
0 0 elsif ($self->{'_state'} == 2) { }
91 0 0 if (length $self->{'in_buf'} < 2) { }
96 0 0 if ($vn != 5) { }
0 0 elsif ($auth != 0) { }
112 0 0 if (length $self->{'in_buf'} < 4) { }
117 0 0 if ($vn != 5) { }
0 0 elsif ($cd != 0) { }
0 0 elsif ($atype != 1 and $atype != 3 and $atype != 4) { }
129 0 0 $atype == 3 ? :
0 0 $atype == 1 ? :
132 0 0 if (length $self->{'in_buf'} < $tail_len) { }
138 0 0 if (my $l = length $self->{'in_buf'})
147 0 0 if ($self->{'_want_write'})
155 0 0 if ($e & 16)