Branch Coverage

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


line true false branch
48 0 1 unless my $raw = $self->SUPER::pack('CCa*', $self->type, $self->length, $self->value)
62 0 1 unless my($type, $length, $tail) = $self->SUPER::unpack('CC a*', $self->raw)
66 0 1 unless my($value, $payload) = $self->SUPER::unpack("a$bLen a*", $tail)
89 0 0 if ($type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_SYSTEMCLASS or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_VENDOR or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_OS or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_OSVERSION or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_OSVERSIONFAMILY or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_MATCHTYPE or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_MATCHMASK or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_P1SIG or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_P2SIG or $type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_P2SIG) { }
0 0 elsif ($type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_TRUSTED) { }
0 0 elsif ($type == &Net::Frame::Layer::SinFP3::NF_SINFP3_TLV_TYPE_MATCHSCORE) { }