Condition Coverage

blib/lib/App/Device/Chip/sensor.pm
Criterion Covered Total %
condition 8 12 66.6


and 3 conditions

line !l l&&!r l&&r condition
310 2 0 1 @$readings == 3 and &all(sub { ; } , @$readings)

or 2 conditions

line l !l condition
305 2 1 $readings_by_chip{&refaddr($sensor)} //= []
350 0 1 $units // ""
353 0 1 $units // ""

or 3 conditions

line l !l&&r !l&&!r condition
149 1 8 0 $adapter //= "Device::Chip::Adapter"->new_from_description($ADAPTERDESC)