Condition Coverage

blib/lib/App/Device/Chip/sensor.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
601 6 0 6 @readings == $n and &all(sub { defined $_; } , @readings)

or 2 conditions

line l !l condition
440 0 1 $units // ""
443 0 1 $units // ""

or 3 conditions

line l !l&&r !l&&!r condition
165 1 11 0 $adapter //= "Device::Chip::Adapter"->new_from_description($ADAPTERDESC)
373 19 7 0 $filters_by_sensor{builtin::refaddr($sensor)} //= $self->make_filter_for_sensor($sensor)
390 3 0 3 not length $_filter or $_filter eq "null"