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
148 3 1 0 defined $args{$_} and $self->$_ = $args{$_} // 0

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
138 1 0 0 $args{$_} // 0 ne $self->$_
139 0 1 0 $args{'bits'} // $_bits
140 1 0 0 $args{'parity'} // $_parity
141 0 1 0 $args{'stop'} // $_stop
145 1 0 0 $stop == 1 or $stop == 2
160 1 0 0 $BAUDS{$args{'baud'}} // croak("Unrecognised baud '$args{'baud'}'")