blib/lib/Device/BusPirate/Mode/BB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
129 | 0 | 3 | unless my $mask = $PIN_MASK{$pin} |
133 | 2 | 1 | if ($val and not $self->{'open_drain'}) { } |
0 | 1 | elsif ($val) { } | |
147 | 0 | 0 | unless my $mask = $PIN_MASK{$pin} |
154 | 2 | 2 | if ($dir != $self->{'dir_mask'}) |
161 | 3 | 1 | if ($want_read or $out != $self->{'out_mask'}) |
168 | 0 | 4 | unless $len |
172 | 2 | 2 | unless $want_read |
179 | 2 | 8 | unless $self->{'dir_mask'} & $mask |
250 | 1 | 0 | $state ? : |
271 | 1 | 0 | $state ? : |