Condition Coverage

blib/lib/Device/BusPirate/Mode/SPI.pm
Criterion Covered Total %
condition 4 8 50.0


and 3 conditions

line !l l&&!r l&&r condition
184 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
196 1 0 0 $SPEEDS{$args{'speed'}} // croak("Unrecognised speed '$args{'speed'}'")