Branch Coverage

blib/lib/Net/Frame/Layer/OSPF/Hello.pm
Criterion Covered Total %
branch 3 12 25.0


line true false branch
55 0 1 unless my $raw = $self->SUPER::pack('a4nCCNa4a4', inetAton($self->networkMask), $self->helloInterval, $self->options, $self->routerPri, $self->routerDeadInterval, inetAton($self->designatedRouter), inetAton($self->backupDesignatedRouter))
63 0 0 unless $raw .= $self->SUPER::pack('a4', inetAton($_))
72 0 1 unless my($netmask, $helloInt, $options, $pri, $deadInt, $desRouter, $backup, $payload) = $self->SUPER::unpack('a4nCCNa4a4 a*', $self->raw)
85 0 1 if ($payload)
87 0 0 unless my($neighbor, $tail) = $self->SUPER::unpack('a4 a*', $payload)
122 0 0 if ($self->lls)