Condition Coverage

blib/lib/Algorithm/Classifier/IsolationForest/App/Command/stream.pm
Criterion Covered Total %
condition 24 42 57.1


and 3 conditions

line !l l&&!r l&&r condition
124 4 6 0 -e $opt->{'m'} and not -r $opt->{'m'}
128 9 1 0 $opt->{'learn_only'} and $opt->{'score_only'}
132 9 0 1 defined $opt->{'o'} and not $opt->{'w'}
9 1 0 defined $opt->{'o'} and not $opt->{'w'} and -e $opt->{'o'}
136 10 0 0 defined $opt->{'threshold'} and $opt->{'threshold'} <= 0 || $opt->{'threshold'} >= 1
140 10 0 0 defined $opt->{'growth'} and not $opt->{'growth'} =~ /\A(?:adaptive|fixed)\z/
187 5 2 2 not $oif and defined $opt->{'prototype'}
212 6 1 1 not $oif and defined $opt->{'mungers'}
222 5 0 1 ref $oif->{'mungers'} eq 'HASH' && %{$oif->{'mungers'};}
354 1 7 0 not $opt->{'score_only'} and defined $oif->{'contamination'}
8 0 0 not $opt->{'score_only'} and defined $oif->{'contamination'} and $oif->window_count
358 0 1 7 $opt->{'save'} and not $opt->{'score_only'}

or 3 conditions

line l !l&&r !l&&!r condition
136 0 0 0 $opt->{'threshold'} <= 0 || $opt->{'threshold'} >= 1
160 0 0 3 defined $opt->{'t'} or defined $opt->{'mungers'}