blib/lib/Mojo/IOLoop/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 25 | 52.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 209 | 185 | 0 | $_ and s/[[\]]//gu |
63 | 390 | 0 | 0 | $NDN and $self->{'dns'} |
65 | 777 | 393 | 0 | $self->{$_} and $reactor->remove(delete $self->{$_}) |
line | l | !l | condition |
---|---|---|---|
36 | 181 | 16 | $args->{'timeout'} || 10 |
112 | 0 | 0 | $! || 'Not connected' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 1 | 196 | 0 | $args->{'socks_address'} || ($args->{'address'} ||= '127.0.0.1') |
44 | 0 | 0 | 0 | $NDN //= "Net::DNS::Native"->new("pool", 5, "extra_thread", 1) |
86 | 1 | 195 | 0 | $args->{'socks_address'} || $args->{'address'} |
99 | 1 | 195 | 0 | $_[0]{'socks_port'} or $_[0]{'port'} |