Branch Coverage

Bio/DB/DBFetch.pm
Criterion Covered Total %
branch 6 46 13.0


line true false branch
114 0 0 unless defined $uids
123 0 0 if (ref($uids) =~ /ARRAY/i) { }
125 0 0 if scalar @$uids > 50
151 0 0 if ($args{'type'} eq 'string') { }
0 0 elsif ($args{'type'} eq 'file') { }
156 0 0 unless open $F, '<', $args{'location'}
159 0 0 unless /^\s+$/
162 0 0 unless open $F, '>', $args{'location'}
221 0 0 unless defined $seqio
241 0 1 if (defined $value)
247 0 1 if ($value and defined $self->formatmap->{$value}) { }
269 0 0 if (defined $servertype and $servertype ne '')
272 0 0 unless $self->hosts->{$servertype}
275 0 0 unless $self->{'_servertype'}
293 0 0 unless defined $servertype
296 0 0 if (defined $location and $location ne '')
298 0 0 unless ($hosts{$location})
305 0 0 unless $self->{'_hostlocation'}
323 0 0 unless (defined $location and defined $servertype)
346 1 0 if (defined $value)
349 1 0 if (exists $self->{'_hosts'}) { }
368 1 0 if (defined $value)
371 1 0 if (exists $self->{'_formatmap'}) { }