Branch Coverage

blib/lib/AI/MaxEntropy.pm
Criterion Covered Total %
branch 27 30 90.0


line true false branch
38 13 8 unless defined $w
43 2 19 if ref $x eq 'HASH'
45 1 3 ref $$x{$attr} eq 'ARRAY' ? :
49 8 13 if $$self{'af_num'} == 0
50 4 17 if $$self{'af_num'} != scalar @$x
54 19 2 if (not defined $y_id) { }
70 41 11 if (not defined $x_id) { }
95 84 13 if ($$self{'f_freq'}[$y][$x] >= $t) { }
137 4 3 if $$self{'last_cut'} == -1
143 4 3 if ($type eq 'lbfgs') { }
3 0 elsif ($type eq 'gis') { }
149 0 3 if $$self{'af_num'} == -1 or $$self{'last_cut'} != 0
154 0 3 if defined $progress_cb and $progress_cb eq 'verbose'
170 14 21 ref $$self{$_} eq 'HASH' ? :
21 35 ref $$self{$_} eq 'ARRAY' ? :