Branch Coverage

blib/lib/Device/Chip/Base/RegisteredI2C.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
86 0 8 unless $self->REG_ADDR_SIZE == 8
95 8 2 if $__forcecache or $_regcache[$reg + $offs]
112 0 9 unless $self->REG_ADDR_SIZE == 8
118 10 2 if $__forcecache or defined $_regcache[$reg + $offs]
151 14 5 if (defined $_regcache[$reg]) { }
200 9 6 if $current[$offs] eq $want[$offs]
241 0 1 unless length $mask == length $val
254 1 0 if ($mask =~ /(\xFF{$datasize})+$/u)
258 1 0 if $readlen > 0