Branch Coverage

blib/lib/Lingua/EN/BioLemmatizer.pm
Criterion Covered Total %
branch 62 120 51.6


line true false branch
34 0 2 if @_ == 0
35 0 2 if @_ > 2
36 0 2 if grep {ref $_;} @_
54 0 0 if @_ == 0
55 0 0 if @_ > 1
58 0 0 wantarray ? :
78 1 7 if @_ == 0
81 2 5 if (ref $invocant)
82 1 1 if (blessed $invocant) { }
89 2 3 if @_
105 0 3 if ($ENV{'JAVA_HOME'})
115 0 0 unless binmode $fh, 'utf8'
129 0 4 unless ref $self
130 0 4 unless $self
132 4 0 unless $pid
145 1 4 unless ref $self
146 0 4 if @_
153 1 0 unless ref $self
154 0 0 if @_
161 1 0 unless ref $self
162 0 0 if @_
169 1 0 unless ref $self
170 0 0 if @_
178 3 10 if (ref $self)
179 0 3 if @_
182 0 10 if @_ > 1
183 2 8 if @_
191 3 10 if (ref $self)
192 0 3 if @_
195 2 8 if @_
204 3 12 if (ref $self)
205 0 3 if @_
206 3 0 wantarray ? :
209 2 10 if (@_ == 1) { }
0 10 elsif (@_ > 1) { }
211 2 0 if (ref $arg) { }
212 0 2 unless ref $arg eq 'ARRAY'
220 0 0 if grep {ref $_;} @_
227 6 6 wantarray ? :
234 3 12 if (ref $self)
235 0 3 if @_
236 3 0 wantarray ? :
239 2 10 if (@_ == 1) { }
0 10 elsif (@_ > 1) { }
241 2 0 if (ref $arg) { }
242 0 2 unless ref $arg eq 'ARRAY'
250 0 0 if grep {ref $_;} @_
257 6 6 wantarray ? :
269 1 5 if @_
279 4 1 wantarray ? :
285 1 0 unless ref $self
299 0 0 if $pos
310 1 1 unless caller eq 'Lingua::EN::BioLemmatizer'
312 1 0 unless ref $self
313 0 0 unless @_ == 1
343 0 0 unless caller eq 'Lingua::EN::BioLemmatizer'
345 0 0 unless ref $self
346 0 0 unless @_ == 0
354 0 0 unless <$fh> =~ /^===/
358 0 0 unless <$fh> =~ /^Running BioLemmatizer/