Branch Coverage

blib/lib/Net/Frame/Layer/LLTD.pm
Criterion Covered Total %
branch 6 22 27.2


line true false branch
158 0 0 if $self->upperLayer
168 0 1 unless my $raw = $self->SUPER::pack('CCCCH12H12n', $self->version, $self->tos, $self->reserved, $self->function, $dst, $src, $self->identifier)
178 0 1 if $self->upperLayer
186 0 1 unless my($version, $tos, $reserved, $function, $dst, $src, $identifier, $payload) = $self->SUPER::unpack('CCCCH12H12n a*', $self->raw)
199 1 0 if ($self->tos == 1 or $self->tos == 0)
201 1 0 if ($self->function == 0) { }
0 0 elsif ($self->function == 1) { }
0 0 elsif ($self->function == 2) { }
0 0 elsif ($self->function == 7) { }
215 1 0 if ($upperLayer) { }
246 0 0 if $self->upperLayer