Condition Coverage

blib/lib/ParaDNS/Resolver.pm
Criterion Covered Total %
condition 4 23 17.3


and 3 conditions

line !l l&&!r l&&r condition
238 0 0 0 $question->qtype eq 'A' and $question->qname ne $query
248 0 0 0 $rr->type eq 'CNAME' and $qobj->recurse_cname
380 0 0 0 $$self{'nqueries'} <= 10 and $$self{'repeat'} > 1
407 0 0 0 $$self{'nqueries'} <= 10 and $$self{'repeat'} > 1

or 2 conditions

line l !l condition
12 0 1 $ENV{'PARADNS_DEBUG'} || 0
13 0 1 $ENV{'NO_DNS0x20'} || 0
24 1 0 'IO::Socket::INET'->new('Proto', 'udp', 'LocalAddr', $$res{'srcaddr'}, 'LocalPort', $$res{'srcport'} || undef) || die("Cannot create socket: $!")
324 0 1 $ENV{'PARADNS_DEBUG'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
355 0 0 0 $$self{'type'} eq 'A' or $$self{'type'} eq 'AAAA'