| lib/App/AllKnowingDNS/Handler.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 16 | 56.2 |
| line | true | false | branch |
|---|---|---|---|
| 34 | 0 | 2 | if (defined $zone->upstream_dns and $zone->upstream_dns ne '') |
| 44 | 0 | 0 | if (defined $result and $result->header->rcode eq 'NOERROR') |
| 45 | 0 | 0 | if ($querylog) |
| 80 | 0 | 4 | unless defined $digits |
| 82 | 1 | 3 | if ($qtype ne 'AAAA') |
| 112 | 0 | 8 | if ($querylog) |
| 116 | 2 | 6 | if ($qtype eq 'PTR' and defined(my $zone = $config->zone_for_ptr($qname))) |
| 121 | 4 | 2 | if (defined(my $zone = $config->zone_for_aaaa($qname))) |