| blib/lib/Device/Modbus/TCP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 9 | 44.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 91 | 0 | 0 | 16 | defined $self->{'buffer'} and length $self->{'buffer'} >= $bytes |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 33 | 0 | 2 | 25980 | $!{'EINTR'} or length $msg == 0 |
| 76 | 0 | 3 | 0 | $attempts >= 5 or $rc == length $adu->binary_message |