blib/lib/Device/Modbus/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 21 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
113 | 1 | 1 | 4 | $byte_count > 0 and $byte_count <= 250 |
2 | 1 | 3 | $byte_count > 0 and $byte_count <= 250 and $byte_count % 2 == 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
94 | 3 | 1 | 16 | $code == 1 or $code == 2 |
2 | 3 | 11 | $code == 3 or $code == 4 | |
5 | 1 | 10 | $code == 3 or $code == 4 or $code == 23 | |
2 | 1 | 7 | $code == 5 or $code == 6 | |
1 | 1 | 5 | $code == 15 or $code == 16 |