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
318 2 0 1 @$readings == 3 and &all(sub { ; } , @$readings)

or 2 conditions

line l !l condition
313 2 1 $readings_by_chip{&refaddr($sensor)} //= []
358 0 1 $units // ""
361 0 1 $units // ""

or 3 conditions

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