Condition Coverage

blib/lib/RPi/ADC/ADS.pm
Criterion Covered Total %
condition 3 15 20.0


and 3 conditions

line !l l&&!r l&&r condition
346 0 0 0 $self->channel > 3 and $v < 0
368 0 0 0 $self->channel > 3 and $r < 0
393 0 0 0 $self->channel > 3 and $percent < 0

or 3 conditions

line l !l&&r !l&&!r condition
320 4 1 2 not $samples =~ /^\d+$/ or $samples < 1
406 0 0 0 not $samples =~ /^\d+$/ or $samples < 1