Branch Coverage

blib/lib/RPi/Serial.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
37 0 0 if @_
59 0 0 unless (defined $byte)
69 0 0 if ($c ne $start and not $self->{'rx_started'})
74 0 0 if ($c eq $start)
79 0 0 if ($c eq $end)
83 0 0 if ($self->{'rx_started'} and not $self->{'rx_ended'})
87 0 0 if ($self->{'rx_started'} and $self->{'rx_ended'})
92 0 0 if ($r_crc == $l_crc) { }
138 0 0 if $crc_msb == -1 or $crc_lsb == -1