Condition Coverage

blib/lib/Zonemaster/Engine/Test/Delegation.pm
Criterion Covered Total %
condition 20 38 52.6


and 2 conditions

line l !l condition
373 1 5 scalar @{'Zonemaster::Engine::TestMethods'->method4($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method5($zone);} and not scalar @results and scalar @authoritatives

and 3 conditions

line !l l&&!r l&&r condition
245 0 1 5 scalar keys %ips and not scalar @results
326 38 0 0 not 'Zonemaster::Engine'->config->ipv6_ok and $local_ns->address->version == $Zonemaster::Engine::Test::Delegation::IP_VERSION_6
338 38 0 0 not 'Zonemaster::Engine'->config->ipv4_ok and $local_ns->address->version == $Zonemaster::Engine::Test::Delegation::IP_VERSION_4
373 0 1 5 scalar @{'Zonemaster::Engine::TestMethods'->method4($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method5($zone);} and not scalar @results
419 0 0 6 scalar @{'Zonemaster::Engine::TestMethods'->method2($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method3($zone);} and not scalar @results
443 38 0 0 not 'Zonemaster::Engine'->config->ipv6_ok and $local_ns->address->version == $Zonemaster::Engine::Test::Delegation::IP_VERSION_6
455 38 0 0 not 'Zonemaster::Engine'->config->ipv4_ok and $local_ns->address->version == $Zonemaster::Engine::Test::Delegation::IP_VERSION_4
470 1 0 14 $p and $p->rcode eq 'NOERROR'
484 0 1 5 scalar @{'Zonemaster::Engine::TestMethods'->method4($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method5($zone);} and not scalar @results
532 1 0 5 @extra_name_parent == 0 and @extra_name_child == 0

or 2 conditions

line l !l condition
373 6 0 scalar @{'Zonemaster::Engine::TestMethods'->method4($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method5($zone);}
419 6 0 scalar @{'Zonemaster::Engine::TestMethods'->method2($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method3($zone);}
484 6 0 scalar @{'Zonemaster::Engine::TestMethods'->method4($zone);} || scalar @{'Zonemaster::Engine::TestMethods'->method5($zone);}