Branch Coverage

blib/lib/AI/Categorizer/Util.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
20 4 6 if ($$arr[$cur] < $target) { }
30 0 4 unless @_
33 1 21 if $_ > $max
39 0 0 unless @_
42 0 0 if $_ > $min
48 0 0 unless @_
60 0 0 UNIVERSAL::isa($one, 'HASH') ? :
64 0 0 if UNIVERSAL::isa($_[0], 'HASH')
70 0 2 if $n >= @$a_ref
72 1 1 $n < @$a_ref / 2 ? :
77 1 1 if $mode eq 'include'
78 3 7 $i{$_} ? :