blib/lib/IO/Async/Internals/Connector.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 58 | 60.3 |
line | l | !l | condition |
---|---|---|---|
114 | 11 | 2 | $! != 115 and Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.26.1/B/Deparse.pm line 5018. |
172 | 52 | 8 | exists $params{$_} and $gai_hints{$_} = $params{$_} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
104 | 14 | 1 | 0 | $localaddr and not $sock->bind($localaddr) |
181 | 9 | 0 | 6 | exists $params{'host'} and exists $params{'service'} |
214 | 0 | 0 | 0 | &blessed($peer) and $peer->isa("IO::Socket") |
260 | 14 | 0 | 1 | $l_family and $p_family |
14 | 1 | 0 | $l_family and $p_family and $l_family != $p_family | |
261 | 14 | 0 | 1 | $l_socktype and $p_socktype |
14 | 1 | 0 | $l_socktype and $p_socktype and $l_socktype != $p_socktype | |
262 | 14 | 0 | 1 | $l_protocol and $p_protocol |
14 | 1 | 0 | $l_protocol and $p_protocol and $l_protocol != $p_protocol |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
174 | 6 | 0 | 9 | exists $params{'host'} or exists $params{'local_host'} |
0 | 0 | 9 | exists $params{'host'} or exists $params{'local_host'} or exists $params{'local_port'} | |
177 | 6 | 0 | 0 | defined $gai_hints{'socktype'} or defined $gai_hints{'protocol'} |
181 | 0 | 0 | 9 | exists $params{'addrs'} or exists $params{'addr'} |
228 | 1 | 0 | 14 | defined $params{'local_host'} or defined $params{'local_service'} |
0 | 0 | 14 | exists $params{'local_addrs'} or exists $params{'local_addr'} | |
264 | 1 | 14 | 0 | $l_family || $p_family |
1 | 14 | 0 | $l_socktype || $p_socktype | |
1 | 5 | 9 | $l_protocol || $p_protocol |