Condition Coverage

blib/lib/Net/DNS/Method/Hash.pm
Criterion Covered Total %
condition 15 26 57.6


and 3 conditions

line !l l&&!r l&&r condition
28 0 0 2 defined $ref && defined $$ref{'BaseDomain'}
0 0 2 defined $ref && defined $$ref{'Hash'}
48 6 0 0 $pos == 0 and length $q <= length $d
99 0 0 4 $q->qtype eq 'ANY' || $rr->type eq $q->qtype and $rr->class eq $q->qclass

or 2 conditions

line l !l condition
21 2 0 ref $type || $type || 'Net::DNS::Method::Hash'

or 3 conditions

line l !l&&r !l&&!r condition
69 1 2 3 exists $$self{'hash'}{$ip} or exists $$self{'hash'}{$name}
3 1 2 exists $$self{'hash'}{$ip} or exists $$self{'hash'}{$name} or exists $$self{'hash'}{$name . '.'}
85 3 1 0 $$self{'hash'}{$ip} || $$self{'hash'}{$name} || $$self{'hash'}{$name . '.'}
99 1 3 0 $q->qtype eq 'ANY' || $rr->type eq $q->qtype