Branch Coverage

blib/lib/Algorithm/Classifier/IsolationForest/App/Command/info.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
33 0 2 if (not -f $opt->{'m'}) { }
0 2 elsif (not -r $opt->{'m'}) { }
47 522 462 if ($node->[0] == 0)
49 4 518 if $depth > $acc->{'max_depth'}
54 462 0 $node->[0] == 1 ? :
74 2 0 $stats->{'leaves'} ? :
75 2 0 $n_trees ? :
96 1 1 if ($opt->{'json'})
112 3 13 unless defined $v
114 3 13 if defined $v and $v =~ /^-?\d+\.\d+/ and not $k =~ /^tree_total_/