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