Condition Coverage

blib/lib/Net/DNS/Lite.pm
Criterion Covered Total %
condition 26 67 38.8


and 3 conditions

line !l l&&!r l&&r condition
301 0 0 7 $from_port == 53 and grep {$from_addr eq $_;} @{$$self{'server'};}
361 8 0 0 @{$$self{'reuse_q'};} and $$self{'reuse_q'}[0][0] <= $now
623 0 1 0 @t and $t[-1] =~ /\./

or 2 conditions

line l !l condition
168 0 9 $opt{'class'} || 'in'
420 2 1 $timeout ||= 5
421 2 1 $attempts ||= 2
441 8 0 $$_[2] or 'in'
549 35 0 $dec_rr{$rt} || sub { $_; }

or 3 conditions

line l !l&&r !l&&!r condition
197 0 34 0 $atype{'*'} or $atype{$$_[1]}
252 5 0 3 not $$self{'sock_v4'} or $$self{'pid'} != $$
315 0 0 1 $$self{'cache_ttl'} || $CACHE_TTL
419 2 1 4 $timeout or $attempts
510 7 0 0 $type_str{$qt} || $qt
7 0 0 $class_str{$qc} || $qc
549 35 0 0 $type_str{$rt} || $rt
35 0 0 $class_str{$rc} || $rc
611 15 0 1 $n < 2 or $n > 8
633 1 0 0 @h + @t == 8 or $_[0] =~ /::/
648 2 2 0 $resolver ||= 'Net::DNS::Lite'->new
694 0 0 0 $ip =~ s/(?:^|:) 0:0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0:0 (?:$|:)/::/x
0 0 0 $ip =~ s/(?:^|:) 0:0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0 (?:$|:)/::/x
0 0 0 $ip =~ s/(?:^|:) 0:0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0 (?:$|:)/::/x
0 0 0 $ip =~ s/(?:^|:) 0:0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0 (?:$|:)/::/x
0 0 0 $ip =~ s/(?:^|:) 0:0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0:0 (?:$|:)/::/x or $ip =~ s/(?:^|:) 0:0 (?:$|:)/::/x