blib/lib/Algorithm/VSM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 67 | 37.3 |
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'};} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
198 | 0 | 0 | 0 | $$self{'_doc_vectors_db'} and $$self{'_normalized_doc_vecs_db'} |
369 | 0 | 0 | 0 | -s "$$self{'_corpus_vocab_db'}.pag" and -s $$self{'_doc_vectors_db'} |
394 | 0 | 0 | 0 | -s "$$self{'_corpus_vocab_db'}.pag" and -s $$self{'_normalized_doc_vecs_db'} |
439 | 32 | 0 | 0 | -d $_ and not -l $_ |
0 | 0 | 32 | -r _ and -T _ | |
0 | 0 | 32 | -r _ and -T _ and -M _ > 1e-05 | |
0 | 0 | 32 | -r _ and -T _ and -M _ > 1e-05 and not -l $_ | |
0 | 0 | 32 | -r _ and -T _ and -M _ > 1e-05 and not -l $_ and $self->ok_to_filetype($_) | |
506 | 1 | 0 | 0 | not $$self{'_normalized_doc_vecs'} and -s $$self{'_normalized_doc_vecs_db'} |
521 | 0 | 0 | 0 | not $$self{'_corpus_doc_vectors'} and -s $$self{'_doc_vectors_db'} |
1183 | 1 | 0 | 8 | $i < $size and $pdl_obj->slice($i)->sclr > $lower_bound |
line | l | !l | condition |
---|---|---|---|
43 | 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 |