Branch Coverage

blib/lib/BT368i/Serial.pm
Criterion Covered Total %
branch 1 60 1.6


line true false branch
21 1 0 if (eval ' use Device::SerialPort; 1 ') { }
41 0 0 if $$self{'serial'}
46 0 0 if $$self{'verbose'}
58 0 0 if $$self{'verbose'}
81 0 0 if ($count == 0)
84 0 0 if $sub_debug
89 0 0 if ($count > 0)
90 0 0 if $sub_debug
113 0 0 if ($j == $$self{'ringbuffersize'})
119 0 0 if ($$self{'ringbuffer'}{'buffer'}[$j] eq '$')
121 0 0 if ($count == 1) { }
0 0 elsif ($count == 2) { }
149 0 0 if ($ringsize or $count) { }
151 0 0 if ($loop_stop == 0)
159 0 0 if ($byte == 36) { }
0 0 elsif ($byte == 13) { }
0 0 elsif ($byte == 10) { }
169 0 0 if ($$self{'serialline'} =~ /\$GPGLL/) { }
0 0 elsif ($$self{'serialline'} =~ /\$GPGSV/) { }
0 0 elsif ($$self{'serialline'} =~ /\$GPGGA/) { }
0 0 elsif ($$self{'serialline'} =~ /\$GPGSA/) { }
0 0 elsif ($$self{'serialline'} =~ /\$GPRMC/) { }
0 0 elsif ($$self{'serialline'} =~ /\$GPVTG/) { }
188 0 0 if ($$self{'serialline'} =~ /^\$GP...\,/ and $checksum =~ /\*..$/)
197 0 0 if ($byte, 32 and $byte <= 127) { }
224 0 0 unless $self->connect
228 0 0 if ($$self{'verbose'})
232 0 0 unless $$self{'serial'}
234 0 0 if ($$self{'serialtype'} eq 'FileHandle') { }
238 0 0 if $len != $out_len