Branch Coverage

Bio/Map/GeneRelative.pm
Criterion Covered Total %
branch 56 86 65.1


line true false branch
127 0 743 if ($set > 1)
130 0 2 if ($exon and !ref($exon) || ref $exon ne 'ARRAY')
133 0 0 if ($intron and !ref($intron) || ref $intron ne 'ARRAY')
136 1 742 if ($set == 0)
138 0 1 if ($self->type)
144 349 394 if defined $gene
145 391 352 if defined $transcript
146 2 741 if defined $exon
147 0 743 if defined $intron
148 1 742 if defined $coding
166 0 408 unless ref $pos
167 0 408 unless $pos->isa('Bio::Map::PositionI')
171 0 408 unless defined $raw
176 0 408 unless defined $value
179 408 0 if ($type =~ /gene|transcript|exon|intron|coding/) { }
181 292 116 $type eq 'gene' ? :
182 0 408 unless $map
183 0 408 unless $map->isa('Bio::Map::GeneMap')
186 292 116 if ($type eq 'gene') { }
193 20 96 ref $value ? :
194 20 96 ref $value ? :
195 113 3 $trans == 0 ? :
196 20 96 ref $value ? :
197 11 105 $type eq 'coding' ? :
204 116 292 if (ref $value)
210 408 0 if (defined $value)
247 351 836 if (defined $num)
248 0 351 unless &looks_like_number($num)
252 1187 0 defined $self->{'_gene'} ? :
270 397 385 if (defined $num)
271 0 397 unless &looks_like_number($num)
275 782 0 defined $self->{'_transcript'} ? :
294 2 60 if (defined $num)
295 1 1 if (defined $t_num)
296 0 1 unless &looks_like_number($t_num)
299 0 2 unless &looks_like_number($num)
323 0 0 if (defined $num)
324 0 0 if (defined $t_num)
325 0 0 unless &looks_like_number($t_num)
328 0 0 unless &looks_like_number($num)
350 1 33 if (defined $num)
351 0 1 unless &looks_like_number($num)
355 34 0 defined $self->{'_coding'} ? :