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