Branch Coverage

lib/Lingua/EN/Fathom.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
322 0 0 unless ($accumulate)
330 0 0 unless (-T $file_name and -s $file_name)
362 1 0 unless ($accumulate)
367 0 1 unless ($block)
384 1 0 if (defined $sentences)
492 0 0 if ($text->{'unique_words'}) { }
512 0 0 if $text->{'file_name'}
569 6 3 if ($one_line =~ /\w/) { }
2 1 elsif ($one_line eq '') { }
1 0 elsif ($one_line =~ /^\W+$/) { }
575 2 4 unless ($in_paragraph)
615 2 55 unless $one_word =~ /[aeiouy]/i
618 1 54 if ($one_word =~ /-/)
620 1 0 unless $one_word =~ /[a-z]{2,}-[a-z]{2,}/i
634 4 50 if ($num_syllables_current_word > 2 and not $one_word =~ /-/)
649 1 0 if ($text->{'num_sentences'} and $text->{'num_words'}) { }