Condition Coverage

blib/lib/AnyEvent/HTTP/Socks.pm
Criterion Covered Total %
condition 6 12 50.0


and 3 conditions

line !l l&&!r l&&r condition
97 10 0 0 $$_{'host'} =~ s/^\[// and $$_{'host'} =~ s/\]$//
112 3 7 0 $$chain[0]{'ver'} == 5 and $IO::Socket::Socks::SOCKS5_RESOLVE == 0
7 0 3 $$chain[0]{'ver'} eq '4' and $IO::Socket::Socks::SOCKS4_RESOLVE == 0

or 3 conditions

line l !l&&r !l&&!r condition
112 0 0 10 $$chain[0]{'ver'} == 5 and $IO::Socket::Socks::SOCKS5_RESOLVE == 0 or $$chain[0]{'ver'} eq '4' and $IO::Socket::Socks::SOCKS4_RESOLVE == 0