| blib/lib/Test/Device/Chip/Adapter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 12 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 182 | 2 | 2 | $v->{$_} ? : |
| 214 | 2 | 35 | if $canonicalise |
| 223 | 2 | 36 | if $canonicalise |
| 227 | 0 | 38 | unless &any(sub { $_ eq $_protocol; } , @$allowed_protos) |
| 230 | 1 | 37 | if ($method eq "read" and $_read_buffer) |
| 250 | 0 | 0 | unless $_protocol eq "I2C" |