Branch Coverage

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


line true false branch
188 0 1 unless my $raw = $self->SUPER::pack('CCCC N11', $bvlist->to_Dec, $self->stratum, $self->poll, $self->precision, $self->rootDelay, $self->rootDisp, $self->refId, $self->refTime, $self->refTime_frac, $self->org, $self->org_frac, $self->rec, $self->rec_frac, $self->xmt, $self->xmt_frac)
212 0 1 unless my($bv, $stratum, $poll, $precision, $rootDelay, $rootDisp, $refId, $refTime, $refTime_frac, $org, $org_frac, $rec, $rec_frac, $xmt, $xmt_frac, $payload) = $self->SUPER::unpack('CCCC N N H8 N8 a*', $self->raw)
251 0 1 if $self->nextLayer
254 0 1 if ($self->payload)
313 1 0 if ($stratum < 2)
346 0 1 $time[3] < 10 ? :
0 1 $time[2] < 10 ? :
0 1 $time[1] < 10 ? :
0 1 $time[0] < 10 ? :