Condition Coverage

blib/lib/Algorithm/AM/Batch.pm
Criterion Covered Total %
condition 13 21 61.9


and 3 conditions

line !l l&&!r l&&r condition
75 0 12 0 ref $args and $args->{'training_set'}->isa('Algorithm::AM::DataSet')
89 67 10 0 exists $args->{$_} and 'CODE' ne ref $args->{$_}
234 5 0 177 not $self->training_item_hook and $self->probability == 1
5 0 177 not $self->training_item_hook and $self->probability == 1 and $max >= $self->training_set->size
252 0 20 5 $self->training_item_hook and not $self->training_item_hook->($self, $test_item, $iteration, $training_item)
260 20 0 0 $self->probability != 1 and rand() > $self->probability

or 3 conditions

line l !l&&r !l&&!r condition
100 1 1 5 not $test_set or 'Algorithm::AM::DataSet' ne ref $test_set