| blib/lib/Device/Chip/Base/RegisteredI2C.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 18 | 72.2 |
| line | true | false | branch |
|---|---|---|---|
| 85 | 0 | 8 | unless $self->REG_ADDR_SIZE == 8 |
| 94 | 8 | 2 | if $__forcecache or $_regcache[$reg + $offs] |
| 111 | 0 | 9 | unless $self->REG_ADDR_SIZE == 8 |
| 117 | 10 | 2 | if $__forcecache or defined $_regcache[$reg + $offs] |
| 150 | 14 | 5 | if (defined $_regcache[$reg]) { } |
| 199 | 9 | 6 | if $current[$offs] eq $want[$offs] |
| 240 | 0 | 1 | unless length $mask == length $val |
| 253 | 1 | 0 | if ($mask =~ /(\xFF{$datasize})+$/u) |
| 257 | 1 | 0 | if $readlen > 0 |