Condition Coverage

blib/lib/Device/Modbus/TCP.pm
Criterion Covered Total %
condition 8 12 66.6


and 3 conditions

line !l l&&!r l&&r condition
29 2 17 13722 $self->socket->connected and length $msg < $bytes
90 0 2 16 defined $self->{'buffer'} and length $self->{'buffer'} >= $bytes

or 3 conditions

line l !l&&r !l&&!r condition
33 0 2 13739 $!{'EINTR'} or length $msg == 0
75 0 3 0 $attempts >= 5 or $rc == length $adu->binary_message