Branch Coverage

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


line true false branch
165 0 11 unless $score
180 0 199 if $self->stem
184 15 171 exists $self->negative->wordlist->{$word} ? :
13 186 exists $self->positive->wordlist->{$word} ? :
192 1 0 if ($value > 0) { }
204 0 102 if $self->stem
208 33 69 exists $self->emotion->wordlist->{$word} ? :
230 10 0 if (exists $value->{$emotion}) { }
251 25 169 if ($value) { }
258 25 169 if defined $value
276 30 67 if ($value) { }
295 3 4 $flag ? :
316 0 0 if @stems
325 2 1 unless (@{$self->sentences;})
326 1 1 $self->file ? :