Condition Coverage

blib/lib/Zonemaster/Engine/Test/Zone.pm
Criterion Covered Total %
condition 24 36 66.6


and 3 conditions

line !l l&&!r l&&r condition
184 1 0 9 $p and my($soa) = $p->get_records('SOA', 'answer')
200 1 0 6 $p_soa and $p_soa->rcode eq 'NOERROR'
255 1 0 7 $p and my($soa) = $p->get_records('SOA', 'answer')
289 1 0 7 $p and my($soa) = $p->get_records('SOA', 'answer')
324 1 0 7 $p and my($soa) = $p->get_records('SOA', 'answer')
358 1 0 7 $p and my($soa) = $p->get_records('SOA', 'answer')
403 1 0 7 $p and my($soa) = $p->get_records('SOA', 'answer')
447 1 0 7 $p and my($soa) = $p->get_records('SOA', 'answer')
523 4 0 1 (defined $p_a || defined $p_aaaa) && (defined $p_a && $p_a->has_rrs_of_type_for_name('A', $zone->name) || defined $p_aaaa && $p_aaaa->has_rrs_of_type_for_name('AAAA', $zone->name))
570 0 19 52 defined $p and scalar $p->get_records($type, 'answer') > 0
581 80 0 0 not 'Zonemaster::Engine'->config->ipv4_ok and $ns->address->version == $Zonemaster::Engine::Test::Zone::IP_VERSION_4
586 76 2 2 not 'Zonemaster::Engine'->config->ipv6_ok and $ns->address->version == $Zonemaster::Engine::Test::Zone::IP_VERSION_6