Branch Coverage

blib/lib/Net/DNS/Native.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
74 233 72 if ($type == 3)
78 51 6 if ($type == 0 or $type == 1 or not wantarray and $type == 2)
83 39 6 $res[0]{'family'} == 2 ? :
21 45 $err ? :
86 6 0 if ($type == 2)
89 3 3 $err ? :
96 0 9 if defined ${^GLOBAL_PHASE} and ${^GLOBAL_PHASE} eq 'DESTRUCT'
98 6 3 if (ref $sock)
130 3 0 if ($self->need_result and $self->{'rs'})
138 314 311 unless (@_)