Branch Coverage

blib/lib/Net/Frame/Layer/STP.pm
Criterion Covered Total %
branch 2 4 50.0


line true false branch
75 0 1 unless $self->raw($self->SUPER::pack('nCCCnH12NnH12nvvvv', $self->protocolIdentifier, $self->protocolVersionIdentifier, $self->bpduType, $self->bpduFlags, $root, $id1, $self->rootPathCost, $bridge, $id2, $self->portIdentifier, $self->messageAge, $self->maxAge, $self->helloTime, $self->forwardDelay))
88 0 1 unless my($protocolIdentifier, $protocolVersionIdentifier, $bpduType, $bpduFlags, $root, $identifier1, $rootPathCost, $bridge, $identifier2, $portIdentifier, $messageAge, $maxAge, $helloTime, $forwardDelay, $payload) = $self->SUPER::unpack('nCCCnH12NnH12nvvvv a*', $self->raw)