Branch Coverage

blib/lib/Net/Frame/Layer/OSPF/Lsa.pm
Criterion Covered Total %
branch 5 30 16.6


line true false branch
51 0 0 if $self->lsa
78 0 0 if ($q > $ep)
89 0 0 if ($x <= 0)
93 0 0 if ($y > 255)
103 0 1 unless my $raw = $self->SUPER::pack('nCCa4a4Nnn a*', $self->lsAge, $self->options, $self->lsType, inetAton($self->linkStateId), inetAton($self->advertisingRouter), $self->lsSequenceNumber, $self->lsChecksum, $self->length)
109 0 1 if $self->lsa
117 0 1 unless my($lsAge, $options, $lsType, $linkStateId, $advertisingRouter, $lsSequenceNumber, $lsChecksum, $length, $payload) = $self->SUPER::unpack('nCCa4a4Nnn a*', $self->raw)
132 0 1 if ($self->full and $payload)
133 0 0 if ($lsType == 10 or $lsType == 11 or $lsType == 12) { }
0 0 elsif ($lsType == 1) { }
0 0 elsif ($lsType == 2) { }
0 0 elsif ($lsType == 3) { }
137 0 0 if ($length > $pLen)
156 0 1 if ($next)
185 0 0 if ($self->lsa)