Branch Coverage

blib/lib/Net/Frame/Layer/NTP.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
120 0 1 unless my $raw = $self->SUPER::pack('CCCC N11', $bvlist->to_Dec, $self->stratum, $self->pollInterval, $self->precision, $self->rootDelay, $self->rootDispersion, $self->refClockId, $self->refTimestamp, $self->refTimestamp_frac, $self->origTimestamp, $self->origTimestamp_frac, $self->recvTimestamp, $self->recvTimestamp_frac, $self->xmitTimestamp, $self->xmitTimestamp_frac)
144 0 1 unless my($bv, $stratum, $pollInterval, $precision, $rootDelay, $rootDispersion, $refClockId, $refTimestamp, $refTimestamp_frac, $origTimestamp, $origTimestamp_frac, $recvTimestamp, $recvTimestamp_frac, $xmitTimestamp, $xmitTimestamp_frac, $payload) = $self->SUPER::unpack('CCCC N N H8 N8 a*', $self->raw)
183 0 1 if $self->nextLayer
186 0 1 if ($self->payload)
245 1 0 if ($stratum < 2)
278 0 1 $time[3] < 10 ? :
0 1 $time[2] < 10 ? :
0 1 $time[1] < 10 ? :
0 1 $time[0] < 10 ? :