blib/lib/Net/Frame/Layer/CDP/IPNetPrefix.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 1 | unless my $raw = $self->SUPER::pack('nn', $self->type, $self->length) |
53 | 0 | 1 | unless $raw .= $self->SUPER::pack('a4C', inetAton($prefix), $mask) |
65 | 0 | 1 | unless my($type, $length, $tail) = $self->SUPER::unpack('nna*', $self->raw) |
73 | 0 | 1 | unless my($IpNetPrefix, $payload) = $self->SUPER::unpack("a$valLen a*", $tail) |
79 | 0 | 1 | unless my($prefix, $mask) = $self->SUPER::unpack('a4C', $IpNetPrefix) |