Branch Coverage

blib/lib/Algorithm/Classifier/NaiveBayes/App/Command/train.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
48 1 6 unless (defined $opt->{'c'})
52 3 3 if (defined $opt->{'f'})
53 1 2 if (@{$args;})
56 1 1 if (not -f $opt->{'f'}) { }
0 1 elsif (not -r $opt->{'f'}) { }
63 3 1 if (-f $opt->{'m'})
65 1 20 if (defined $opt->{$new_arg})
80 2 1 if (-f $opt->{'m'}) { }
86 0 7 if (defined $opt->{$new_arg})
90 0 1 if ($opt->{'no_lc'})
96 1 2 defined $opt->{'f'} ? :