| blib/lib/POE/Component/Client/DNS/Recursive.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 25 | 48.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 34 | 5 | 0 | 1 | $opts{'nameservers'} and ref $opts{'nameservers'} eq "ARRAY" |
| 77 | 6 | 0 | 0 | $kernel == $sender and not $runstate->{'session'} |
| 155 | 0 | 0 | 78 | $rr->name =~ /^\.?$/ and $rr->type eq "NS" |
| 348 | 37 | 0 | 64 | $rr->type eq "A" and $hints{$server} |
| line | l | !l | condition |
|---|---|---|---|
| 97 | 0 | 6 | $runstate->{'class'} || 'IN' |
| 144 | 0 | 26 | $runstate->{'timeout'} || 5 |
| 335 | 10 | 0 | shift() || (return) |
| 356 | 23 | 0 | shift() || (return) |
| 376 | 17 | 0 | shift() || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 96 | 0 | 6 | 0 | $runstate->{'type'} || (ip_get_version($runstate->{'host'}) ? 'PTR' : 'A') |