Branch Coverage

blib/lib/Device/SDS011.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
77 0 0 unless $self->{'port'}->write_settings
97 0 0 if (defined $byte and length $byte) { }
100 0 0 if (length $msg == 10 and substr($msg, 0, 1) eq "\252" and substr($msg, -1) eq "\253")
105 0 0 if $cmdChar eq "\300"
106 0 0 if $readMessages >= 10
107 0 0 if $cmdChar and substr($msg, 1, 1) eq $cmdChar
111 0 0 if $failures == 5
114 0 0 if $cmdChar and substr($msg, 1, 1) ne $cmdChar
125 0 0 unless $count_out
126 0 0 if $count_out != length $str
147 0 0 if (not $self->{'_device_id'})
172 0 0 if ($response) { }
190 0 0 defined $mode_value ? :
192 0 0 if $response
193 0 0 $response ? :
233 0 0 unless ($self->{'_firmware_verion'})
235 0 0 if (defined $response)
252 0 0 if (@new_id) { }
261 0 0 unless $self->{'_device_id'}
273 0 0 if $self->{'port'}