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
79 0 5838 9 defined $self->{'buffer'} and length $self->{'buffer'} >= $bytes

or 2 conditions

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