Branch Coverage

blib/lib/IO/Socket/Netlink/Generic.pm
Criterion Covered Total %
branch 5 14 35.7


line true false branch
80 0 1 if ($class ne 'IO::Socket::Netlink::Generic')
81 0 0 unless defined(my $family_name = $pkg2familyname{$class})
98 0 3 defined ${*$self;}{'default_nlmsg_type'} ? :
108 0 0 defined ${*$self;}{'default_nlmsg_type'} ? :
173 0 2 unless $self->send_nlmsg($self->new_request('nlmsg_type', 16, 'cmd', 3, 'nlattrs', \%searchattrs))
180 0 2 unless $self->recv_nlmsg(my $message, 32768)
183 0 2 unless $message->nlmsg_type == 16