line |
true |
false |
branch |
30
|
7 |
3 |
if (&none(sub {
$_->tag eq 'DOMAIN_NAME_TOO_LONG' unless $_->tag eq 'DOMAIN_NAME_LABEL_TOO_LONG' or $_->tag eq 'DOMAIN_NAME_ZERO_LENGTH_LABEL';
}
, @results))
|
32
|
1 |
2 |
unless $_->tag eq 'DOMAIN_NAME_LABEL_TOO_LONG' or $_->tag eq 'DOMAIN_NAME_ZERO_LENGTH_LABEL'
|
44
|
4 |
3 |
if (&none(sub {
$_->tag eq 'HAS_NAMESERVERS';
}
, @results)) { }
|
45
|
4 |
0 |
if 'Zonemaster::Engine'->config->should_run('basic03')
|
64
|
2 |
0 |
if (not $tag{'NO_GLUE_PREVENTS_NAMESERVER_TESTS'} and $tag{'HAS_NAMESERVERS'}) { }
|
155
|
2 |
46 |
if (length $local_label > $Zonemaster::Engine::Test::Basic::LABEL_MAX_LENGTH) { }
|
|
2 |
44 |
elsif (length $local_label == 0) { }
|
177
|
2 |
14 |
if (length $fqdn > $Zonemaster::Engine::Test::Basic::FQDN_MAX_LENGTH)
|
197
|
0 |
7 |
if (not $parent) { }
|
224
|
3 |
4 |
unless (scalar @ns)
|
232
|
0 |
21 |
if (not 'Zonemaster::Engine'->config->ipv4_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_4) { }
|
|
12 |
9 |
elsif ('Zonemaster::Engine'->config->ipv4_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_4) { }
|
254
|
0 |
21 |
if (not 'Zonemaster::Engine'->config->ipv6_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_6) { }
|
|
9 |
12 |
elsif ('Zonemaster::Engine'->config->ipv6_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_6) { }
|
278
|
19 |
2 |
if ($p) { }
|
279
|
19 |
0 |
if ($p->has_rrs_of_type_for_name($query_type, $zone->name)) { }
|
323
|
0 |
2 |
if (not 'Zonemaster::Engine'->config->ipv4_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_4) { }
|
|
2 |
0 |
elsif ('Zonemaster::Engine'->config->ipv4_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_4) { }
|
345
|
0 |
2 |
if (not 'Zonemaster::Engine'->config->ipv6_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_6) { }
|
|
0 |
2 |
elsif ('Zonemaster::Engine'->config->ipv6_ok and $ns->address->version == $Zonemaster::Engine::Test::Basic::IP_VERSION_6) { }
|
368
|
2 |
0 |
unless $p
|
370
|
0 |
0 |
if ($p->has_rrs_of_type_for_name($query_type, $name)) { }
|
392
|
1 |
3 |
if (scalar @{'Zonemaster::Engine::TestMethods'->method4($zone);} and not $response_nb)
|