| blib/lib/Socket/GetAddrInfo/Emul.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 35 | 42.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 181 | 1 | 2 | 0 | $node eq '' and $service eq '' |
| 186 | 1 | 0 | 0 | $flag_numerichost and not $node =~ /^$REGEXP_IPv4_DOTTEDQUAD$/ |
| 203 | 0 | 3 | 0 | $service ne '' and not $service =~ /^\d+$/ |
| 209 | 0 | 3 | 6 | $socktype and $this_socktype != $socktype |
| 215 | 3 | 0 | 0 | $protname and $this_protname ne $protname |
| 315 | 0 | 0 | 0 | defined $fqdn and $fqdn eq $node |
| line | l | !l | condition |
|---|---|---|---|
| 157 | 2 | 1 | $family ||= 2 |
| 160 | 3 | 0 | $socktype ||= 0 |
| 162 | 0 | 3 | $protocol ||= 0 |
| 164 | 0 | 3 | $flags ||= 0 |
| 231 | 3 | 0 | scalar getprotobyname $this_protname || 0 |
| 284 | 3 | 0 | $flags ||= 0 |
| 297 | 0 | 3 | $xflags ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 116 | 0 | 0 | 0 | $errstr{$errno} || $errno |