Branch Coverage

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


line true false branch
157 0 0 if $self->upperLayer
167 0 1 unless my $raw = $self->SUPER::pack('CCCCH12H12n', $self->version, $self->tos, $self->reserved, $self->function, $dst, $src, $self->identifier)
177 0 1 if $self->upperLayer
185 0 1 unless my($version, $tos, $reserved, $function, $dst, $src, $identifier, $payload) = $self->SUPER::unpack('CCCCH12H12n a*', $self->raw)
198 1 0 if ($self->tos == 1 or $self->tos == 0)
200 1 0 if ($self->function == 0) { }
0 0 elsif ($self->function == 1) { }
0 0 elsif ($self->function == 2) { }
0 0 elsif ($self->function == 7) { }
214 1 0 if ($upperLayer) { }
245 0 0 if $self->upperLayer