Branch Coverage

blib/lib/GenOO/Module/Search/Binary.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
59 26 39 if (&$code($sorted_array->[$index]) < $target_value) { }
25 14 elsif (&$code($sorted_array->[$index]) > $target_value) { }
76 5 25 if ($low_index > $#{$sorted_array;})
81 3 22 if (&$code($sorted_array->[$index]) < $target_value)
82 3 0 if ($index + 1 <= $#{$sorted_array;} and &$code($$sorted_array[$index + 1]) > $target_value)