Condition Coverage

blib/lib/Net/DNS/Native.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
19 0 5 0 $Net::DNS::Native::Config{'osname'} =~ /linux/i && !($Net::DNS::Native::Config{'usethreads'} || $Net::DNS::Native::Config{'libs'} =~ /-l?pthread\b/ || $Net::DNS::Native::Config{'ldflags'} =~ /-l?pthread\b/)
78 6 0 33 not wantarray and $type == 2
96 0 9 0 defined ${^GLOBAL_PHASE} and ${^GLOBAL_PHASE} eq 'DESTRUCT'
130 311 0 3 $self->need_result and $self->{'rs'}

or 3 conditions

line l !l&&r !l&&!r condition
78 15 18 39 $type == 0 or $type == 1
33 39 0 $type == 0 or $type == 1 or not wantarray and $type == 2