blib/lib/App/Device/Chip/sensor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
375 | 2 | 0 | 1 | @$readings == 3 and &all(sub { ; } , @$readings) |
line | l | !l | condition |
---|---|---|---|
370 | 2 | 1 | $readings_by_sensor{&refaddr($sensor)} //= [] |
415 | 0 | 1 | $units // "" |
418 | 0 | 1 | $units // "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
158 | 1 | 9 | 0 | $adapter //= "Device::Chip::Adapter"->new_from_description($ADAPTERDESC) |
218 | 10 | 0 | 0 | $config{'type'} // croak("Require 'type'") |
219 | 10 | 0 | 0 | $config{'adapter'} // croak("Require 'adapter'") |