blib/lib/Device/Modbus/Response.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 21 | 90.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
76 | 1 | 1 | 7 | @{$args{'values'};} > 0 and @{$args{'values'};} <= 2000 |
84 | 1 | 2 | 7 | @{$args{'values'};} > 0 and @{$args{'values'};} <= 125 |
100 | 1 | 1 | 3 | $args{'value'} >= 0 and $args{'value'} <= 65535 |
108 | 1 | 1 | 2 | $args{'quantity'} > 0 and $args{'quantity'} <= 1968 |
116 | 1 | 1 | 3 | $args{'quantity'} >= 1 and $args{'quantity'} <= 123 |
144 | 1 | 2 | 0 | $_ == 5 and $self->{'value'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 17 | 0 | 27 | $args{'function'} or $args{'code'} |