Condition Coverage

blib/lib/Device/Chip/BNO055.pm
Criterion Covered Total %
condition 10 21 47.6


and 3 conditions

line !l l&&!r l&&r condition
194 1 2 11 length $bytes and substr($bytes, 0, 1) eq substr($_regcache, $reg, 1)
200 1 2 0 $len and substr($bytes, $len - 1, 1) eq substr($_regcache, $reg + $len - 1, 1)

or 3 conditions

line l !l&&r !l&&!r condition
318 0 1 0 $_ACC_Unit //= XXX->{'ACC_Unit'}
378 0 1 0 $_GYR_Unit //= XXX->{'GYR_Unit'}
399 0 1 0 $_EUL_Unit //= XXX->{'EUL_Unit'}
439 1 0 0 $_ACC_Unit //= XXX->{'ACC_Unit'}
462 1 0 0 $_ACC_Unit //= XXX->{'ACC_Unit'}