Branch Coverage

blib/lib/Lingua/PT/Actants.pm
Criterion Covered Total %
branch 34 44 77.2


line true false branch
12 4 1 if (exists $args{'conll'})
25 0 26 if $line =~ /^\s*$/
68 47 0 if ($score >= 0)
92 33 14 if $ac > 0.9 or $_->{'score'} < 0.1
119 36 4 unless ($a->{'pos'} eq 'VERB' and $b->{'pos'} eq 'VERB')
122 0 40 if $i >= @$data
126 7 29 if lc $_->{'pos'} eq 'verb'
146 6 6 unless $self->_is_core($_)
147 6 6 if $_->{'id'} == $t->{'id'}
151 0 6 unless @child
167 40 7 $dist ? :
181 14 33 if $pos =~ /^(noun|propn|prop)$/i
182 7 26 if $pos =~ /^(punct)$/i
190 7 40 if $rule =~ /^(nsubj|nsubjpass)$/i
191 7 33 if $rule =~ /^(dobj)$/i
201 20 27 if $dist < 0
216 12 72 if $_->{'id'} == $id
228 6 78 if ($node->{'id'} == $_->{'dep'})
241 6 15 if $token->{'id'} == $_->{'id'}
250 0 0 unless $cores
268 0 0 unless $acts
289 0 0 unless $ranks