Condition Coverage

blib/lib/Algorithm/VSM.pm
Criterion Covered Total %
condition 25 67 37.3


and 2 conditions

line l !l condition
320 0 1 scalar keys %{$$self{'_vocab_hist'};} and scalar keys %{$$self{'_normalized_doc_vecs'};}
324 0 0 scalar keys %{$$self{'_vocab_hist'};} and scalar keys %{$$self{'_corpus_doc_vectors'};}

and 3 conditions

line !l l&&!r l&&r condition
201 0 0 0 $self->{'_doc_vectors_db'} and $self->{'_normalized_doc_vecs_db'}
371 0 0 0 -s "$self->{'_corpus_vocab_db'}.pag" and -s $self->{'_doc_vectors_db'}
396 0 0 0 -s "$self->{'_corpus_vocab_db'}.pag" and -s $self->{'_normalized_doc_vecs_db'}
439 40 0 0 -d $_ and not -l $_
0 0 40 -r _ and -T _
0 0 40 -r _ and -T _ and -M _ > 1e-05
0 0 40 -r _ and -T _ and -M _ > 1e-05 and not -l $_
0 0 40 -r _ and -T _ and -M _ > 1e-05 and not -l $_ and $self->ok_to_filetype($_)
508 1 0 0 not $self->{'_normalized_doc_vecs'} and -s $self->{'_normalized_doc_vecs_db'}
523 0 0 0 not $self->{'_corpus_doc_vectors'} and -s $self->{'_doc_vectors_db'}
1194 1 0 10 $i < $size and $pdl_obj->slice($i)->sclr > $lower_bound

or 2 conditions

line l !l condition
62 2 0 $args{'corpus_directory'} || ''
0 2 $args{'save_model_on_disk'} || 0
2 0 $args{'corpus_vocab_db'} || 'corpus_vocab_db'
2 0 $args{'doc_vectors_db'} || 'doc_vectors_db'
2 0 $args{'normalized_doc_vecs_db'} || 'normalized_doc_vecs_db'
0 2 $args{'stop_words_file'} || ''
0 2 $args{'case_sensitive'} || 0
0 2 $args{'query_file'} || ''
2 0 $args{'file_types'} || []
0 2 $args{'min_word_length'} || 4
2 0 $args{'want_stemming'} || 0
0 2 $args{'max_number_retrievals'} || 30
1 1 $args{'lsa_svd_threshold'} || 0.01
0 2 $args{'relevancy_file'} || ''
0 2 $args{'debug'} || 0