Branch Coverage

blib/lib/Net/Frame/Layer/ETH.pm
Criterion Covered Total %
branch 7 22 31.8


line true false branch
103 1 0 if $self->[$__src]
104 1 0 if $self->[$__dst]
117 0 1 unless $self->[$__raw] = $self->SUPER::pack('H12H12n', $dst, $src, $self->[$__type])
126 0 1 unless my($dst, $src, $type, $payload) = $self->SUPER::unpack('H12H12n a*', $self->[$__raw])
142 0 0 if ($self->[$__type] <= 1500)
145 0 0 if $l->layer eq 'ETH'
190 0 1 if $self->[$__nextLayer]
193 0 0 if ($self->[$__type] <= 1500 and $self->[$__payload])
196 0 0 if (CORE::length $payload > 6)
202 0 1 unless $$Next{$self->[$__type]}
211 0 1 if ($self->[$__type] <= 1500) { }