Branch Coverage

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


line true false branch
50 0 0 if $self->lsa
77 0 0 if ($q > $ep)
88 0 0 if ($x <= 0)
92 0 0 if ($y > 255)
102 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)
108 0 1 if $self->lsa
116 0 1 unless my($lsAge, $options, $lsType, $linkStateId, $advertisingRouter, $lsSequenceNumber, $lsChecksum, $length, $payload) = $self->SUPER::unpack('nCCa4a4Nnn a*', $self->raw)
131 0 1 if ($self->full and $payload)
132 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) { }
136 0 0 if ($length > $pLen)
155 0 1 if ($next)
184 0 0 if ($self->lsa)