Branch Coverage

blib/lib/Text/TFIDF.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
20 1 1 if ($args{'file'})
32 1 4 unless (defined $file)
37 1 3 unless (defined $word)
42 0 3 unless defined $$self{'file'}{$file}
65 8 0 if defined $$self{'file'}{$el}{$word}
88 0 4 unless -r $file
89 0 4 unless open IF, $file
97 458 558 if (defined $$hash{$el}) { }