Branch Coverage

blib/lib/Net/Frame/Layer/CDP/VoipVlanQuery.pm
Criterion Covered Total %
branch 8 28 28.5


line true false branch
37 0 0 if (defined $self->data and $self->data ne '')
40 0 0 if (defined $self->voipVlan and $self->voipVlan ne '')
50 0 1 unless my $raw = $self->SUPER::pack('nn', $self->type, $self->length)
55 1 0 if (defined $self->data and $self->data ne '')
56 0 1 unless $raw .= $self->SUPER::pack('C', $self->data)
61 0 1 if (defined $self->voipVlan and $self->voipVlan ne '')
62 0 0 unless $raw .= $self->SUPER::pack('n', $self->voipVlan)
73 0 1 unless my($type, $length, $payload) = $self->SUPER::unpack('nn a*', $self->raw)
81 1 0 if ($length >= 5) { }
82 0 1 unless ($data, $payload) = $self->SUPER::unpack('C a*', $payload)
87 0 1 if ($length >= 7) { }
88 0 0 unless ($voipVlan, $payload) = $self->SUPER::unpack('n a*', $payload)
109 0 0 if (defined $self->data and $self->data ne '')
112 0 0 if (defined $self->voipVlan and $self->voipVlan ne '')