line |
true |
false |
branch |
84
|
2 |
1 |
if ($self->source_address)
|
105
|
1 |
21428 |
if ($self->address->version == 4 and not 'Zonemaster::Engine'->config->ipv4_ok)
|
110
|
16 |
21412 |
if ($self->address->version == 6 and not 'Zonemaster::Engine'->config->ipv6_ok)
|
134
|
2 |
36 |
if ($type eq 'DS' and $class eq 'IN' and $self->fake_ds->{lc $name})
|
149
|
7 |
77 |
if ($name =~ /([.]|\A)\Q$fname\E\z/iux)
|
152
|
1 |
6 |
if (lc $name eq lc $fname and $type eq 'NS') { }
|
184
|
2 |
21401 |
unless (exists $self->cache->data->{"$name"}{uc $type}{uc $class}{$dnssec}{$usevc}{$recurse}{$edns_size})
|
190
|
21345 |
56 |
$p ? :
|
203
|
4 |
278 |
if ('Zonemaster::Engine::Net::IP'->new($ip)->ip eq $self->address->ip)
|
209
|
132 |
146 |
Zonemaster::Engine::Net::IP::ip_is_ipv6($ip) ? :
|
227
|
7 |
0 |
unless (ref $domain)
|
257
|
2 |
1 |
if ('Zonemaster::Engine'->config->no_network)
|
287
|
0 |
1 |
if ($self->blacklisted->{$flags{'usevc'}}{$flags{'dnssec'}}) { }
|
298
|
0 |
0 |
$flags{'usevc'} ? :
|
302
|
1 |
0 |
if ($@)
|
308
|
1 |
0 |
unless ($flags{'dnssec'})
|
320
|
0 |
1 |
if ($res) { }
|
323
|
0 |
0 |
if ($size > $Zonemaster::Engine::Nameserver::UDP_COMMON_EDNS_LIMIT)
|
324
|
0 |
0 |
$flags{'dnssec'} ? :
|
355
|
0 |
2 |
unless open my $fh, '>', $filename
|
362
|
0 |
2 |
unless close $fh
|
392
|
0 |
20 |
unless open my $fh, '<', $filename
|
432
|
0 |
2 |
if @{$self->times;} == 0
|
442
|
0 |
2 |
if ($c == 0) { }
|
|
1 |
1 |
elsif ($c % 2 == 0) { }
|
459
|
0 |
1 |
if $c == 0
|
478
|
16 |
0 |
if ('Zonemaster::Engine'->config->no_network)
|
484
|
0 |
0 |
if ($self->address->version == 4 and not 'Zonemaster::Engine'->config->ipv4_ok)
|
489
|
0 |
0 |
if ($self->address->version == 6 and not 'Zonemaster::Engine'->config->ipv6_ok)
|