Branch Coverage

blib/lib/Text/TermExtract.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
41 0 3 unless defined $opts
49 1 2 unless $lang
59 45 73 if $$stopwords{$word}
60 0 73 if $word =~ /^\d+$/
61 15 58 if length $word <= 2
62 1 57 if exists $$self{'exclude'}{$word}
64 27 30 if length $word > 6
67 0 50 unless $words{$b} <=> $words{$a}
72 0 3 if (get_logger()->is_debug)
78 3 0 if (exists $$opts{'max'} and $$opts{'max'} < @weighted_words) { }