Condition Coverage

blib/lib/Statistics/MaxEntropy.pm
Criterion Covered Total %
condition 25 42 59.5


and 3 conditions

line !l l&&!r l&&r condition
506 0 3 0 not $self->{'THIS_IS_A_SAMPLE'} and $self->{'PARAMETERS'}
511 0 1 2 $self->{'NEED_CORRECTION_FEATURE'} and $self->{'SCALER'} eq 'gis'
634 0 14289 27695 $self->{'NEED_CORRECTION_FEATURE'} and $self->{'SCALER'} eq 'gis'
801 77824 0 0 defined $y and $x->Size + $y->Size == $self->{'NR_FEATURES'}
813 0 59392 18432 $self->{'NEED_CORRECTION_FEATURE'} and $self->{'SCALER'} eq 'gis'
1054 96 236 0 $self->{'SCALER'} eq 'gis' and $self->{'NEED_CORRECTION_FEATURE'}
1081 14 8 0 $self->{'SAMPLING'} eq 'enum' and $self->{'VECTYPE'} eq 'integer'
1084 20 2 0 $self->{'SAMPLING'} eq 'mc' and $self->{'VECTYPE'} eq 'integer'

or 3 conditions

line l !l&&r !l&&!r condition
131 33 4 0 ref $this || $this
575 0 0 984 not $sum or $sum == $self->{'NR_CLASSES'}
922 16 0 4779 scalar keys %events == $Statistics::MaxEntropy::SAMPLE_size or scalar keys %events == 2 ** $self->{'NR_FEATURES'}
1014 1103 0 2435 abs $x - $old_x <= $Statistics::MaxEntropy::NEWTON_min or $k++ > $Statistics::MaxEntropy::NEWTON_max_it
1093 22 0 310 $diff <= $Statistics::MaxEntropy::KL_min or $k > $Statistics::MaxEntropy::KL_max_it
22 0 310 $diff <= $Statistics::MaxEntropy::KL_min or $k > $Statistics::MaxEntropy::KL_max_it or $diff < 0