blib/lib/Algorithm/Bitonic/Sort.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
83 | 16 | 14 | if int @_ <= 1 |
85 | 2 | 12 | if @_ % 2 |
109 | 48 | 34 | if int @_ == 1 |
111 | 0 | 34 | if @_ % 2 |
126 | 2 | 32 | if $single_bit ne 'NA' |
127 | 0 | 34 | if $single_bit_2 ne 'NA' |
146 | 26 | 22 | if ($num[$i] > $num[$i + $dist] == $up) |
173 | 1 | 8 | if ($up and $single_bit < $curr) { } |
0 | 8 | elsif ($single_bit > $curr and not $up) { } |