Condition Coverage

blib/lib/Device/Modbus/TCP.pm
Criterion Covered Total %
condition 5 12 41.6


and 3 conditions

line !l l&&!r l&&r condition
32 0 42569 0 exists $!{'EINTR'} and $!{'EINTR'}
86 0 0 7 defined $self->{'buffer'} and length $self->{'buffer'} >= $bytes

or 3 conditions

line l !l&&r !l&&!r condition
32 0 42562 7 exists $!{'EINTR'} and $!{'EINTR'} or length $msg == 0
71 0 2 0 $attempts >= 5 or $rc == length $adu->binary_message