Condition Coverage

blib/lib/IO/Socket/Netlink.pm
Criterion Covered Total %
condition 33 44 75.0


and 3 conditions

line !l l&&!r l&&r condition
451 18 12 2 @_ and $$self{'nlmsg_type'} == 2
628 8 3 8 defined $datafield and not defined &{"${class}::${datafield}_string";}

or 2 conditions

line l !l condition
115 0 7 $$arg{'Type'} || 3
123 0 7 $$arg{'Pid'} || 0
0 7 $$arg{'Groups'} || 0
204 0 3 $message->nlmsg_flags || 0
221 0 0 $message->nlmsg_flags || 0
386 5 3 $self->nlmsg_type || 0
3 5 $self->nlmsg_flags || 0
1 7 $self->nlmsg_seq || 0
1 7 $self->nlmsg_pid || 0
991 2 2 $self->nlmsg_type || 0
1008 1 3 $self->nlmsg_flags || 0
1054 1 3 $self->nlmsg_seq || 0
1 3 $self->nlmsg_pid || 0

or 3 conditions

line l !l&&r !l&&!r condition
566 11 8 0 my $datafield = $args{'data'} or $no_data
570 8 11 0 $no_data or ref(my $packfunc = $args{'pack'}) eq 'CODE'
571 8 11 0 $no_data or ref(my $unpackfunc = $args{'unpack'}) eq 'CODE'
700 2 0 0 ref $self eq $class or $pkg eq $class