Condition Coverage

blib/lib/Device/Modbus/RTU.pm
Criterion Covered Total %
condition 12 13 92.3


and 3 conditions

line !l l&&!r l&&r condition
78 0 7873 9 defined $self->{'buffer'} and length $self->{'buffer'} >= $bytes

or 2 conditions

line l !l condition
21 2 2 $self->{'baudrate'} //= 9600
22 1 3 $self->{'databits'} //= 8
23 2 2 $self->{'parity'} //= 'even'
24 1 3 $self->{'stopbits'} //= 1
25 2 2 $self->{'timeout'} //= 10