line |
true |
false |
branch |
81
|
0 |
0 |
if $self->{'mode'} |
96
|
0 |
0 |
if $self->{'mode'} |
111
|
0 |
1 |
if $self->{'mode'} and _modename($self->{'mode'}) eq 'I2C' |
114
|
0 |
1 |
if $self->{'mode'} |
138
|
0 |
0 |
if $self->{'mode'} |
188
|
2 |
0 |
if $rate =~ /(.*)k$/u |
189
|
0 |
2 |
if $rate =~ /(.*)M$/u |
214
|
0 |
0 |
unless $pin eq 'AUX' |
232
|
0 |
0 |
unless $pin eq 'AUX' |
300
|
0 |
0 |
if ($args{'wordsize'} // 8) != 8 |
302
|
0 |
0 |
if %args |
306
|
0 |
0 |
defined $mode ? : |
|
0 |
0 |
defined $max_bitrate ? : |
358
|
0 |
1 |
if %args |
361
|
1 |
0 |
if defined $addr |
366
|
1 |
0 |
if defined $max_bitrate |
378
|
1 |
0 |
if $self->{'mode'} |
386
|
0 |
5 |
unless defined(my $addr = $self->{'addr'}) |
389
|
1 |
4 |
unless $self->{'in_txn'} |
400
|
0 |
5 |
unless defined(my $addr = $self->{'addr'}) |
403
|
1 |
4 |
unless $self->{'in_txn'} |