| blib/lib/Lingua/TokenParse.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 15 | 28 | 53.5 |
| line | l | !l | condition |
|---|---|---|---|
| 374 | 0 | 0 | warn "No lexicon cache file set\n" and return |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 89 | 0 | 0 | 2 | @_ == 1 && ref $_[0] eq 'HASH' |
| 365 | 2 | 2 | 1 | $file and $file eq "lexicon_file" |
| 4 | 0 | 1 | $file and $file eq "lexicon_file" and $value | |
| 374 | 5 | 0 | 0 | $self->{'verbose'} and not $file |
| 384 | 1 | 0 | 0 | $self->{'verbose'} and -e $file |
| line | l | !l | condition |
|---|---|---|---|
| 237 | 1024 | 1280 | shift @i || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 17 | 0 | 2 | 0 | ref $proto || $proto |
| 283 | 85 | 0 | 107 | $x or $y |
| 371 | 3 | 0 | 2 | $file ||= $self->{'lexicon_file'} |