Branch Coverage

blib/lib/Text/Bayon.pm
Criterion Covered Total %
branch 29 46 63.0


line true false branch
25 2 0 if $self->dry_run
27 0 0 if (not $args_outfiles or $$args_outfiles{'return_force'})
29 0 0 if (wantarray) { }
46 0 0 if $self->dry_run
48 0 0 if (not $args_outfiles or $$args_outfiles{'return_force'})
50 0 0 if (wantarray) { }
85 1 12 if (ref $input eq 'HASH') { }
1 11 elsif (ref $input eq 'GLOB') { }
9 2 elsif ($input and ref $input eq '') { }
105 1 8 unless -e $input
113 13 7 if ($args_outfiles and $$args_outfiles{$_}) { }
139 0 0 if ($cmd =~ / -p / or $cmd =~ /--classify/) { }
166 5 2 if ($method_name eq 'clustering') { }
1 1 elsif ($method_name eq 'classify') { }
182 1 2 unless ($number or $limit)
185 2 3 if ($number) { }
189 3 0 if ($limit)
193 3 2 if ($point)
196 3 2 if ($clvector)
198 0 3 if ($clvector_size)
202 0 5 if ($method)
205 0 5 if ($seed)
208 2 3 if ($idf)