Condition Coverage

blib/lib/Zonemaster/Engine/Test/DNSSEC.pm
Criterion Covered Total %
condition 39 69 56.5


and 3 conditions

line !l l&&!r l&&r condition
144 9 3 0 'Zonemaster::Engine'->config->should_run('dnssec07') and grep {$_->tag eq 'NEITHER_DNSKEY_NOR_DS';} @results
715 3 1 0 $min_len >= 4096 and $iter > 2500
1 2 1 $min_len < 4096 and $min_len >= 2048
3 1 0 $min_len < 4096 and $min_len >= 2048 and $iter > 500
2 0 2 $min_len < 2048 and $min_len >= 1024
2 1 1 $min_len < 2048 and $min_len >= 1024 and $iter > 150
924 8 0 13 @sigs > 0 and @keys > 0
0 8 0 $key_p->rcode eq 'NOERROR' and @sigs == 0 || @keys == 0
966 4 4 3 $dnskey and not $ds
4 0 4 $dnskey and $ds
0 2 2 not $dnskey and $ds
1042 3 0 0 $sig->algorithm == 12 and $msg =~ /Unknown cryptographic algorithm/u
1115 1 0 0 $sig->algorithm == 12 and $msg =~ /Unknown cryptographic algorithm/u
1160 9 0 0 $test_p->rcode ne 'NXDOMAIN' and $test_p->rcode ne 'NOERROR'
1197 0 0 0 $sig->algorithm == 12 and $msg =~ /Unknown cryptographic algorithm/u
1264 1 0 0 $sig->algorithm == 12 and $msg =~ /Unknown cryptographic algorithm/u
1349 0 0 0 $sig->algorithm == 12 and $msg =~ /Unknown cryptographic algorithm/u

or 3 conditions

line l !l&&r !l&&!r condition
715 0 0 4 $min_len >= 4096 and $iter > 2500 or $min_len < 4096 and $min_len >= 2048 and $iter > 500
0 1 3 $min_len >= 4096 and $iter > 2500 or $min_len < 4096 and $min_len >= 2048 and $iter > 500 or $min_len < 2048 and $min_len >= 1024 and $iter > 150
924 8 0 0 @sigs == 0 || @keys == 0
1017 1 1 6 @dnskeys == 0 or @sigs == 0
1089 1 0 5 @dnskeys == 0 or @sigs == 0
1 0 5 @dnskeys == 0 or @sigs == 0 or @soa == 0