Branch Coverage

blib/lib/Net/DNS/Native.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
74 233 72 if ($type == 3)
78 57 0 if ($type == 0 or $type == 1 or not wantarray and $type == 2)
83 45 6 $res[0]{'family'} == 2 ? :
21 51 $err ? :
86 0 0 if ($type == 2)
89 0 0 $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 (@_)