Branch Coverage

blib/lib/Algorithm/MedianSelect/XS.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
19 4 2 if ref $_[-1] eq 'HASH'
22 3 3 ref $nums[0] eq 'ARRAY' ? :
23 0 6 if $count % 2 == 0 or $count == 1
31 4 2 if (exists $opts->{'algorithm'} and $valid_alg{$opts->{'algorithm'}}) { }
36 0 2 if defined $opts->{'algorithm'}
44 3 3 if (ref $nums[0] eq 'ARRAY') { }