| blib/lib/Algorithm/NGram.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 19 | 63.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 195 | 6 | 0 | 54 | $next_tok and @tokens |
| 237 | 0 | 0 | 1 | $self->dirty and not $opts{'no_analyze'} |
| 245 | 0 | 1 | 8 | $tok and $tok ne ':ENDTOK:' |
| line | l | !l | condition |
|---|---|---|---|
| 76 | 2 | 0 | delete $opts{'ngram_width'} || 3 |
| 78 | 1 | 1 | delete $opts{'token_table'} || {} |
| 79 | 1 | 1 | delete $opts{'tokens'} || [] |
| 299 | 9 | 0 | $$self{'token_table'}{$tok_count}{$tok_key} || undef |
| 345 | 1 | 0 | $$save{'tokens'} || [] |