Condition Coverage

blib/lib/Algorithm/MedianSelect/XS.pm
Criterion Covered Total %
condition 4 8 50.0


and 3 conditions

line !l l&&!r l&&r condition
31 2 0 4 exists $opts->{'algorithm'} and $valid_alg{$opts->{'algorithm'}}

or 2 conditions

line l !l condition
38 0 2 $algorithm ||= "quick"

or 3 conditions

line l !l&&r !l&&!r condition
23 0 0 6 $count % 2 == 0 or $count == 1