Condition Coverage

blib/lib/Device/Chip/TSL256x.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
336 1 0 5 $gain == 1 and $data0 < 2048
1 0 5 $gain == 1 and $data0 < 2048 and $data1 < 2048
344 5 1 0 $gain == 16 and $data0 > 32768 || $data1 > 32768

or 3 conditions

line l !l&&r !l&&!r condition
147 19 3 0 $_CONTROLbyte //= XXX
14 8 0 $_TIMINGbyte //= XXX
329 0 0 10 $data0 == $saturation or $data1 == $saturation
344 1 0 0 $data0 > 32768 || $data1 > 32768