| blib/lib/Lingua/Identify/Blacklists.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 42 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 353 | 2371 | 54869 | 0 | !exists($dic1{$w}) || $dic1{$w} < $min_high and !exists($dic2{$w}) || $dic2{$w} < $min_high |
| 355 | 0 | 468 | 3223 | exists $dic1{$w} and $dic1{$w} > $max_low |
| 265 | 193 | 2765 | exists $dic2{$w} and $dic2{$w} > $max_low | |
| 468 | 3223 | 0 | exists $dic1{$w} and $dic1{$w} > $max_low and (exists $dic2{$w} and $dic2{$w} > $max_low) | |
| 429 | 20 | 4 | 0 | defined $pairs{$lang2} and defined $pairs{$lang2}{$lang1} |
| line | l | !l | condition |
|---|---|---|---|
| 348 | 3 | 0 | ">$options{'outfile'}" || die("cannot write to $options{'outfile'}\n") |
| 469 | 0 | 0 | $$options{'blacklist_dir'} || 'blacklist-experiment' |
| 492 | 0 | 0 | $evaldata[$i] || die('...') |
| 693 | 28 | 0 | "$dir/$lang1-$lang2.txt" || die('...') |
| 707 | 0 | 0 | "gzip -cd < $file |" || die("cannot open file '${file}'") |
| 711 | 12 | 0 | $file || die("cannot open file '${file}'") |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 222 | 0 | 0 | 600 | exists $options{'langs'} or exists $options{'assumed'} |
| 353 | 0 | 54869 | 2371 | !exists($dic1{$w}) || $dic1{$w} < $min_high |
| 35792 | 17757 | 1320 | !exists($dic2{$w}) || $dic2{$w} < $min_high | |
| 460 | 0 | 0 | 0 | $#traindata == $#evaldata or $#traindata == $#langs |
| 664 | 4 | 0 | 0 | shift() || $BLACKLISTDIR |