Branch Coverage

blib/lib/Text/Context/Porter.pm
Criterion Covered Total %
branch 10 18 55.5


line true false branch
40 1 0 if (@keywords)
69 9 9 if $content =~ /\b\Q$word\E\b/i
77 15 12 if $this_score > @$wordset
96 9 8 if ($word =~ /\S/)
98 2 7 if ($words{$stemmed}) { }
113 2 0 if length $$self{'content'} <= $max_weight
118 0 0 if ($old_length == $this_length)
124 0 0 unless (exists $words{$stemmed})
130 0 0 unless (exists $words{$stemmed})