Condition Coverage

blib/lib/Zonemaster/Engine/Test/Address.pm
Criterion Covered Total %
condition 17 26 65.3


and 2 conditions

line l !l condition
226 0 25 $p->rcode eq 'NOERROR' and scalar @ptr

and 3 conditions

line !l l&&!r l&&r condition
136 0 1 5 scalar keys %ips and not scalar @results
163 0 2 26 $p and $p->rcode eq 'NOERROR'
2 23 3 $p and $p->rcode eq 'NOERROR' and $p->get_records('CNAME', 'answer')
193 0 2 4 scalar keys %ips and not scalar @results
218 0 0 25 $p and $p->rcode eq 'NOERROR'
0 22 3 $p and $p->rcode eq 'NOERROR' and $p->get_records('CNAME', 'answer')
261 0 2 3 scalar keys %ips and not scalar @results

or 3 conditions

line l !l&&r !l&&!r condition
170 2 0 26 $p->rcode ne 'NOERROR' or not $p->get_records('PTR', 'answer')