Branch Coverage

blib/lib/Mojo/IOLoop/Client/Paranoid.pm
Criterion Covered Total %
branch 14 40 35.0


line true false branch
40 0 2 $ENV{'MOJO_NO_NNR'} ? :
49 0 0 $_[0]{'tls'} ? :
0 1 unless $_[0]{'socks_port'} or $_[0]{'port'}
52 0 4 ref $args[0] ? :
61 4 0 if $self
65 0 0 if ($paranoid_dns->_bad_host($args->{'address'}))
69 0 0 unless $self
0 0 if $self
81 0 0 if $err
95 0 0 $addrinfo->{'family'} == 2 ? :
101 4 0 unless ($handle)
103 0 4 $path ? :
107 0 4 if ($path) { }
110 4 0 unless ($args->{'addr_info'})
112 1 3 if ($resolved) { }
120 0 1 if (my $info = $args->{'addr_info'}) { }
126 0 0 if ($errmsg)
135 1 0 if $args->{'socket_options'}
137 0 1 unless $self->{'handle'} = $handle = $class->new(%options)
140 0 1 $path ? :