Branch Coverage

blib/lib/Net/Frame/Layer/HSRP.pm
Criterion Covered Total %
branch 3 6 50.0


line true false branch
88 0 1 unless my $raw = $self->SUPER::pack('CCCCCCCCa8a4', $self->version, $self->opcode, $self->state, $self->helloTime, $self->holdTime, $self->priority, $self->group, $self->reserved, $self->authData, inetAton($self->virtualIp))
107 0 1 unless my($version, $opcode, $state, $helloTime, $holdTime, $priority, $group, $reserved, $authData, $virtualIp, $payload) = $self->SUPER::unpack('CCCCCCCCa8a4 a*', $self->raw)
131 0 1 if $self->nextLayer