Branch Coverage

blib/lib/Lingua/EN/Opinion.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
164 0 11 unless $score
179 0 199 if $self->stem
183 15 171 exists $self->negative->wordlist->{$word} ? :
13 186 exists $self->positive->wordlist->{$word} ? :
191 1 0 if ($value > 0) { }
203 0 102 if $self->stem
207 33 69 exists $self->emotion->wordlist->{$word} ? :
229 10 0 if (exists $value->{$emotion}) { }
250 25 169 if ($value) { }
257 25 169 if defined $value
275 30 67 if ($value) { }
294 3 4 $flag ? :
315 0 0 if @stems
324 2 1 unless (@{$self->sentences;})
325 1 1 $self->file ? :