| blib/lib/IO/Async/Internals/Connector.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 35 | 58 | 60.3 |
| line | l | !l | condition |
|---|---|---|---|
| 112 | 11 | 2 | $! != 115 and Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762. |
| 170 | 52 | 8 | exists $params{$_} and $gai_hints{$_} = $params{$_} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 102 | 14 | 1 | 0 | $localaddr and not $sock->bind($localaddr) |
| 179 | 9 | 0 | 6 | exists $params{'host'} and exists $params{'service'} |
| 212 | 0 | 0 | 0 | builtin::blessed($peer) and $peer->isa("IO::Socket") |
| 258 | 14 | 0 | 1 | $l_family and $p_family |
| 14 | 1 | 0 | $l_family and $p_family and $l_family != $p_family | |
| 259 | 14 | 0 | 1 | $l_socktype and $p_socktype |
| 14 | 1 | 0 | $l_socktype and $p_socktype and $l_socktype != $p_socktype | |
| 260 | 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 |
|---|---|---|---|---|
| 172 | 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'} | |
| 175 | 6 | 0 | 0 | defined $gai_hints{'socktype'} or defined $gai_hints{'protocol'} |
| 179 | 0 | 0 | 9 | exists $params{'addrs'} or exists $params{'addr'} |
| 226 | 1 | 0 | 14 | defined $params{'local_host'} or defined $params{'local_service'} |
| 0 | 0 | 14 | exists $params{'local_addrs'} or exists $params{'local_addr'} | |
| 262 | 1 | 14 | 0 | $l_family || $p_family |
| 1 | 14 | 0 | $l_socktype || $p_socktype | |
| 1 | 5 | 9 | $l_protocol || $p_protocol |