Branch Coverage

blib/lib/WWW/Babelfish.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
144 0 0 unless $self->initialize(@args)
152 0 0 unless defined $$Services{$$self{'service'}}
157 0 0 if defined $params{'proxy'}
161 0 0 if defined $$self{'proxy'}
167 0 0 unless ($res->is_success)
179 0 0 if ($p->get_tag('select'))
182 0 0 if $a2b =~ /Select from and to languages/
183 0 0 unless $a2b =~ /(\S+)\sto\s(\S+)/
194 0 0 if ($self) { }
219 0 0 unless defined $params{'delimiter'}
222 0 0 unless (exists $$self{'Langs'}{$params{'source'}})
231 0 0 if $params{'source'} eq $params{'destination'}
233 0 0 unless (exists $$self{'Langs'}{$params{'source'}}{$params{'destination'}})
243 0 0 if (ref $params{'text'}) { }
251 0 0 unless (defined $params{'ofh'})
273 0 0 if ($para =~ s/(^\s+)(\S)/$2/)
287 0 0 if ($res->is_success)
291 0 0 if (not defined $text or $text =~ /^\*\*time-out\*\*/)
308 0 0 if $num_paras > 1
312 0 0 if ($WANT_STRING_RETURNED) { }
333 0 0 if length $text <= $max
362 0 0 if ($offset == -1 or $offset <= $lastoffset)
371 0 0 if ($offset == -1 or $offset <= $lastoffset)
376 0 0 if $offset == -1