Branch Coverage

blib/lib/Algorithm/Classifier/IsolationForest/App/Command/bench.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
48 0 1 if (not defined $opt->{'i'}) { }
0 1 elsif (not -f $opt->{'i'}) { }
0 1 elsif (not -r $opt->{'i'}) { }
56 0 1 if (not -f $opt->{'m'}) { }
0 1 elsif (not -r $opt->{'m'}) { }
62 0 1 if ($opt->{'secs'} <= 0)
66 0 1 if ($opt->{'t'} <= 0 or $opt->{'t'} >= 1)
93 0 7 if $row =~ /^\s*$/
96 0 7 if scalar @f != $expected
99 0 21 unless &looks_like_number($v)
114 0 1 if $cols != $model->{'n_features'}
119 1 0 $Algorithm::Classifier::IsolationForest::HAS_C ? :
126 1 0 $Algorithm::Classifier::IsolationForest::HAS_OPENMP ? :
1 0 $Algorithm::Classifier::IsolationForest::HAS_SIMD ? :
133 1 0 $has_c ? :
143 1 0 if (defined $packed)
157 8 0 $rate > 0 ? :