| lib/App/AllKnowingDNS/Handler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 9 | 44.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 34 | 2 | 0 | 0 | defined $zone->upstream_dns and $zone->upstream_dns ne '' |
| 44 | 0 | 0 | 0 | defined $result and $result->header->rcode eq 'NOERROR' |
| 116 | 4 | 2 | 2 | $qtype eq 'PTR' and defined(my $zone = $config->zone_for_ptr($qname)) |