Branch Coverage

blib/lib/Lingua/NegEx.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
36 1 0 if ($index < $word_count)
39 0 3 if ($pseudo_index) { }
43 1 2 if ($negation_index) { }
47 0 1 if $conjunction_index
49 0 1 if ($conjunction_index) { }
1 0 elsif ($negation_index >= $word_count - 1) { }
58 0 2 if ($post_index)
77 43 400 if (scalar @words == 1) { }
78 1 42 if (${$string;}[$index] eq $words[0])
82 3 397 if ($word_count - $index >= scalar @words and ${$string;}[$index] eq $words[0])
87 0 3 if (${$string;}[$index + $i] eq $words[$i]) { }
93 0 0 if ($counts == scalar @words)