blib/lib/Device/Chip/Adapter/BusPirate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 36 | 30.5 |
line | true | false | branch |
---|---|---|---|
77 | 0 | 0 | if $_mode |
89 | 0 | 0 | if $_mode |
101 | 1 | 1 | if $_mode and _modename($_mode) eq 'I2C' |
104 | 0 | 1 | if $_mode |
127 | 0 | 0 | if $_mode |
166 | 2 | 0 | if $rate =~ /(.*)k$/u |
167 | 0 | 2 | if $rate =~ /(.*)M$/u |
185 | 0 | 0 | unless $pin eq 'AUX' |
198 | 0 | 0 | unless $pin eq 'AUX' |
252 | 0 | 0 | if ($args{'wordsize'} // 8) != 8 |
254 | 0 | 0 | if %args |
257 | 0 | 0 | defined $mode ? : |
0 | 0 | defined $max_bitrate ? : | |
300 | 0 | 2 | if %args |
303 | 2 | 0 | if defined $addr |
307 | 1 | 1 | if defined $max_bitrate |
320 | 2 | 0 | if $self->mode |
345 | 0 | 6 | unless defined $_addr |