| 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 | 104 | $rr->name =~ /^\.?$/ and $rr->type eq 'NS' | 
| 348 | 5 | 85 | 0 | $rr->type eq 'A' and $hints{$server} | 
| line | l | !l | condition | 
|---|---|---|---|
| 97 | 0 | 6 | $runstate->{'class'} || 'IN' | 
| 144 | 0 | 25 | $runstate->{'timeout'} || 5 | 
| 335 | 10 | 0 | shift() || (return) | 
| 356 | 24 | 0 | shift() || (return) | 
| 376 | 18 | 0 | shift() || (return) | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 96 | 0 | 0 | 6 | $runstate->{'type'} || (ip_get_version($runstate->{'host'}) ? 'PTR' : 'A') |