blib/lib/Lingua/Anagrams.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 47 | 74.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
184 | 6 | 2 | 0 | $min and @anagrams < $min |
400 | 5680 | 87 | 0 | $$counts[$i] and not $$known[$i] |
line | l | !l | condition |
---|---|---|---|
26 | 0 | 7 | $params{'clean'} // \&_clean |
47 | 1 | 6 | $params{'sorted'} // 0 |
63 | 32 | 0 | $word // '' |
74 | 23 | 24 | $$known[$i] ||= 1 |
82 | 12 | 35 | $$base[$i] //= [] |
121 | 80 | 63 | $$word_cache{$w} //= scalar keys %$word_cache |
165 | 1 | 7 | $opts{'start_list'} // 0 |
226 | 1 | 6 | $opts{'start_list'} // 0 |
420 | 18 | 31 | $_ //= '' |
438 | 36 | 1509 | $_ //= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 0 | 7 | 0 | ref $class || $class |
47 | 1 | 0 | 6 | $params{'limit'} // $LIMIT |
86 | 0 | 32 | 0 | $$base[0] //= $terminal |
97 | 115 | 45 | 538 | $c == -1 or $c >= @$level |
224 | 1 | 0 | 6 | $opts{'sorted'} //= $$self{'sorted'} |
492 | 78 | 36 | 0 | $good_indices[$_] //= $_ |
509 | 22 | 0 | 14 | not $best or $n < $min |