Branch Coverage

Bio/Map/GeneMap.pm
Criterion Covered Total %
branch 43 84 51.1


line true false branch
170 0 9 unless (defined $gene and defined $species)
175 1 8 if $seq
177 9 0 unless (defined $uid)
229 0 20 if ($uid and defined $Bio::Map::GeneMap::GENEMAPS->{'by_uid'}{$uid}) { }
20 0 elsif ($gene and $species) { }
233 2 18 ref $gene ? :
234 11 9 if (defined $Bio::Map::GeneMap::GENEMAPS->{'by_ns'}{$name}{$species})
238 11 9 if ($gene_map)
239 0 11 if $desc
240 0 11 if defined $up
241 0 11 if defined $down
242 0 11 if $seq
261 9 67 if (defined $id)
282 9 21 if ($value)
286 0 0 if ($old_species)
331 9 478 if (@args > 0)
336 0 9 unless $gene
338 2 7 ref $gene ? :
339 0 9 if (defined $self->{'gene'}) { }
340 0 0 if ($self->{'gene'} ne $gene_obj)
348 0 0 if defined $up
349 0 0 if defined $down
354 0 9 unless $up >= 0
382 9 10 unless $self->gene
383 0 10 if ($value)
409 0 13 if (defined $value)
410 0 0 unless $value >= 0
432 9 11 if (@_)
453 0 11 $actual_length > $expected_length ? :
477 7 0 if (not $seq or CORE::length $seq < $expected_length)
486 0 7 if (@slice_stuff) { }
491 0 0 $strand == -1 ? :
492 0 0 $strand == -1 ? :
495 0 0 if $converted_start > $converted_end
500 0 0 if ($new_slice and my $seq_str = $new_slice->seq)
501 0 0 if ($strand == -1)
509 10 8 unless $pos->can('seq')
514 3 0 if ($result[$i] eq 'N')
551 1 3 if ($start and ref $start and $start->isa('Bio::RangeI'))
553 1 0 if ($start->isa('Bio::Map::Position')) { }
565 4 0 $self->{'seq'} ? :
575 0 0 unless $seq