Branch Coverage

blib/lib/Text/Language/Guess.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
38 0 2 if (exists $Text::Language::Guess::STOPMAPS{"@{$$self{'languages'};}"}) { }
64 0 10 unless defined $data and length $data
72 184 116 unless (defined $langs)
105 10 21 if (not defined $max_score or $max_score < $$scores{$lang})
146 2 14 if (-f 'File::Spec'->catfile($dir, 'Lingua/StopWords.pm'))
158 0 10 unless -f $file
164 0 10 unless open FILE, "<$file"