Condition Coverage

blib/lib/Device/BusPirate/Mode/UART.pm
Criterion Covered Total %
condition 10 25 40.0


and 3 conditions

line !l l&&!r l&&r condition
146 3 1 0 defined $args{$_} and $self->{$_} = $args{$_} // 0

or 2 conditions

line l !l condition
19 0 7 $ENV{'PIRATE_DEBUG'} // 0
146 1 0 $args{$_} // 0

or 3 conditions

line l !l&&r !l&&!r condition
136 1 0 0 $args{$_} // 0 ne $self->{$_}
137 0 1 0 $args{'bits'} // $self->{'bits'}
138 1 0 0 $args{'parity'} // $self->{'parity'}
139 0 1 0 $args{'stop'} // $self->{'stop'}
143 1 0 0 $stop == 1 or $stop == 2
158 1 0 0 $BAUDS{$args{'baud'}} // croak("Unrecognised baud '$args{'baud'}'")