| blib/lib/Text/TFIDF/Ngram.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 11 | 81.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 89 | 83 | 3 | 5 | $self->stopwords and grep {$stop->{$_};} split(/\s+/, $p, 0) |
| 112 | 0 | 1 | 14 | exists $self->counts->{$file} and exists $self->counts->{$file}{$phrase} |
| line | l | !l | condition |
|---|---|---|---|
| 66 | 7 | 0 | $args->{'size'} ||= 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 152 | 2 | 2 | 4 | $seen{$phrase}++ or not defined $tfidf |