Condition Coverage

blib/lib/AI/DecisionTree.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
155 53 9 1 $$self{'noise_mode'} eq 'fatal' and not defined $best_attr
158 58 1 2 $$self{'max_depth'} and $$self{'curr_depth'} > $$self{'max_depth'}

or 2 conditions

line l !l condition
42 21100 672 $_ ||= 0
48 42737 89 $_[0] ||= {}
345 0 0 delete $args{'leaf_colors'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
158 1 0 61 not defined $best_attr or $$self{'max_depth'} and $$self{'curr_depth'} > $$self{'max_depth'}
301 925 6 0 $node ||= $$self{'tree'}
313 89 1 0 $args{'attributes'} or $args{'callback'}