blib/lib/Mojo/IOLoop/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 25 | 52.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 208 | 184 | 0 | $_ and s/[[\]]//gu |
63 | 388 | 0 | 0 | $NDN and $self->{'dns'} |
65 | 773 | 391 | 0 | $self->{$_} and $reactor->remove(delete $self->{$_}) |
line | l | !l | condition |
---|---|---|---|
36 | 180 | 16 | $args->{'timeout'} || 10 |
112 | 0 | 0 | $! || 'Not connected' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 1 | 195 | 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 | 194 | 0 | $args->{'socks_address'} || $args->{'address'} |
99 | 1 | 194 | 0 | $_[0]{'socks_port'} or $_[0]{'port'} |