Condition Coverage

blib/lib/POE/Component/Proxy/SOCKS.pm
Criterion Covered Total %
condition 0 53 0.0


and 3 conditions

line !l l&&!r l&&r condition
61 0 0 0 $wheel_id and defined $self->{'clients'}{$wheel_id}
67 0 0 0 $wheel_id and defined $self->{'links'}{$wheel_id}
73 0 0 0 $wheel_id and defined $self->{'sockets'}{$wheel_id}
297 0 0 0 $dstip =~ /^0\.0\.0\./ and $cd ne '2'
389 0 0 0 $client->{'link_id'} and $self->_link_exists($client->{'link_id'})
392 0 0 0 $client->{'factory'} and $self->_sock_exists($client->{'factory'})
536 0 0 0 $link->{'client'} and $self->_conn_exists($link->{'client'})

or 2 conditions

line l !l condition
176 0 0 $self->{'time_out'} || 120
252 0 0 shift() || (return)
276 0 0 $self->{'time_out'} || 120
445 0 0 $self->{'time_out'} || 120
644 0 0 shift() || (return)
652 0 0 shift() || (return)
661 0 0 shift() || (return)
669 0 0 shift() || (return)
678 0 0 shift() || (return)
688 0 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
258 0 0 0 $packet or length $packet == 4
293 0 0 0 $vn ne '4' or not $cd =~ /^(1|2)$/
424 0 0 0 $link_id or $self->_link_exists($link_id)
559 0 0 0 $self->{'sessions'}{$sender_id}{'refcnt'}++ or $session == $sender