blib/lib/Device/Modbus/TCP/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
23 | 3 | 31 | if (@_) |
26 | 3 | 31 | unless (defined $self->{'socket'}) |
27 | 0 | 3 | unless $self->_build_socket |
46 | 0 | 3 | unless $sock |
57 | 0 | 3 | if $trans_id > 65535 |