Branch Coverage

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


line true false branch
127 0 722 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 721 if ($set == 0)
138 0 1 if ($self->type)
144 343 379 if defined $gene
145 376 346 if defined $transcript
146 2 720 if defined $exon
147 0 722 if defined $intron
148 1 721 if defined $coding
166 0 401 unless ref $pos
167 0 401 unless $pos->isa('Bio::Map::PositionI')
171 0 401 unless defined $raw
176 0 401 unless defined $value
179 401 0 if ($type =~ /gene|transcript|exon|intron|coding/) { }
181 289 112 $type eq 'gene' ? :
182 0 401 unless $map
183 0 401 unless $map->isa('Bio::Map::GeneMap')
186 289 112 if ($type eq 'gene') { }
193 19 93 ref $value ? :
194 19 93 ref $value ? :
195 109 3 $trans == 0 ? :
196 19 93 ref $value ? :
197 10 102 $type eq 'coding' ? :
204 112 289 if (ref $value)
210 401 0 if (defined $value)
247 345 827 if (defined $num)
248 0 345 unless &looks_like_number($num)
252 1172 0 defined $self->{'_gene'} ? :
270 382 370 if (defined $num)
271 0 382 unless &looks_like_number($num)
275 752 0 defined $self->{'_transcript'} ? :
294 2 57 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 30 if (defined $num)
351 0 1 unless &looks_like_number($num)
355 31 0 defined $self->{'_coding'} ? :