Branch Coverage

blib/lib/Net/Frame/Layer/RIP/v2.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
73 3 1 if (/^authentication$/i)
92 6 5 if ($self->addressFamily == 65535) { }
93 0 6 unless $self->raw($self->SUPER::pack('nna16', $self->addressFamily, $self->authType, $self->authentication))
100 0 5 unless $self->raw($self->SUPER::pack('nna4a4a4N', $self->addressFamily, $self->routeTag, inetAton($self->address), inetAton($self->subnetMask), inetAton($self->nextHop), $self->metric))
116 0 1 unless my($addressFamily, $remain) = $self->SUPER::unpack('n a*', $self->raw)
120 0 1 if ($addressFamily == 65535) { }
121 0 0 unless my($authType, $authentication, $payload) = $self->SUPER::unpack('na16 a*', $remain)
133 0 1 unless my($routeTag, $address, $subnetMask, $nextHop, $metric, $payload) = $self->SUPER::unpack('na4a4a4N a*', $remain)
153 0 1 if $self->nextLayer
155 0 1 if ($self->payload)
168 6 5 if ($self->addressFamily == 65535) { }