blib/lib/Net/DNS/Native.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
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 | 0 | 0 | 39 | 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'} |
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 |