blib/lib/Device/BusPirate/Mode/UART.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
136 | 1 | 6 | if defined $args{$_} |
1 | 1 | if (&any(sub { $args{$_} // 0 ne $self->{$_} if defined $args{$_}; } , 'open_drain', 'bits', 'parity', 'stop')) | |
141 | 0 | 1 | unless defined(my $dataconf = $DATACONF{$bits . uc($parity)}) |
143 | 0 | 1 | unless $stop == 1 or $stop == 2 |
150 | 1 | 0 | $self->{'open_drain'} ? : |
0 | 1 | $stop == 2 ? : | |
156 | 1 | 1 | if (defined $args{'baud'}) |
160 | 0 | 1 | if $baud == $self->{'baud'} |