blib/lib/IO/Socket/Netlink.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 33 | 44 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
474 | 18 | 12 | 2 | @_ and $self->{'nlmsg_type'} == 2 |
651 | 8 | 3 | 8 | defined $datafield and not defined &{"${class}::${datafield}_string";} |
line | l | !l | condition |
---|---|---|---|
119 | 0 | 7 | $arg->{'Type'} || 3 |
127 | 0 | 7 | $arg->{'Pid'} || 0 |
0 | 7 | $arg->{'Groups'} || 0 | |
216 | 0 | 3 | $message->nlmsg_flags || 0 |
235 | 0 | 0 | $message->nlmsg_flags || 0 |
409 | 5 | 3 | $self->nlmsg_type || 0 |
3 | 5 | $self->nlmsg_flags || 0 | |
1 | 7 | $self->nlmsg_seq || 0 | |
1 | 7 | $self->nlmsg_pid || 0 | |
1014 | 2 | 2 | $self->nlmsg_type || 0 |
1031 | 1 | 3 | $self->nlmsg_flags || 0 |
1077 | 1 | 3 | $self->nlmsg_seq || 0 |
1 | 3 | $self->nlmsg_pid || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
589 | 11 | 8 | 0 | my $datafield = $args{'data'} or $no_data |
593 | 8 | 11 | 0 | $no_data or ref(my $packfunc = $args{'pack'}) eq 'CODE' |
594 | 8 | 11 | 0 | $no_data or ref(my $unpackfunc = $args{'unpack'}) eq 'CODE' |
723 | 2 | 0 | 0 | ref $self eq $class or $pkg eq $class |