Condition Coverage

blib/lib/POE/Component/Client/DNS/Recursive.pm
Criterion Covered Total %
condition 12 25 48.0


and 3 conditions

line !l l&&!r l&&r condition
34 5 0 1 $opts{'nameservers'} and ref $opts{'nameservers'} eq 'ARRAY'
77 6 0 0 $kernel == $sender and not $runstate->{'session'}
155 0 0 104 $rr->name =~ /^\.?$/ and $rr->type eq 'NS'
348 6 84 0 $rr->type eq 'A' and $hints{$server}

or 2 conditions

line l !l condition
97 0 6 $runstate->{'class'} || 'IN'
144 0 26 $runstate->{'timeout'} || 5
335 10 0 shift() || (return)
356 24 0 shift() || (return)
376 18 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
96 0 0 6 $runstate->{'type'} || (ip_get_version($runstate->{'host'}) ? 'PTR' : 'A')