Condition Coverage

blib/lib/Device/BusPirate/Mode/SPI.pm
Criterion Covered Total %
condition 5 11 45.4


and 3 conditions

line !l l&&!r l&&r condition
177 4 0 0 defined $args{$_} and $self->{$_} = !!$args{$_}
182 6 6 0 defined $args{$_} and $self->{$_} = !!$args{$_}

or 2 conditions

line l !l condition
19 0 7 $ENV{'PIRATE_DEBUG'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
194 1 0 0 $SPEEDS{$args{'speed'}} // croak("Unrecognised speed '$args{'speed'}'")