Branch Coverage

blib/lib/GenOO/Gene.pm
Criterion Covered Total %
branch 23 46 50.0


line true false branch
184 2 0 if (defined $self->transcripts) { }
196 1 0 if (defined $self->transcripts) { }
208 350 0 if (defined $transcript and $transcript->isa('GenOO::Transcript')) { }
231 1 3 if (exists $counts{$exon->location} and $counts{$exon->location} == $transcript_count)
260 1 3 if (exists $counts{$exon->location} and $counts{$exon->location} == $transcript_count)
279 1 0 if ($transcript->is_coding)
338 163 0 if (defined $self->transcripts)
342 0 163 if (not defined $strand) { }
354 163 0 if (defined $self->transcripts)
358 0 163 if (not defined $chromosome) { }
370 193 0 if (defined $self->transcripts)
372 194 180 if (not defined $start or $start > $transcript->start)
378 0 193 if (not defined $start) { }
390 193 0 if (defined $self->transcripts)
392 235 139 if (not defined $stop or $stop < $transcript->stop)
398 0 193 if (not defined $stop) { }
424 0 0 unless $transcript->is_coding
425 0 0 unless defined $transcript->utr5
439 0 0 unless $transcript->is_coding
453 0 0 unless $transcript->is_coding
454 0 0 unless defined $transcript->utr3
471 2 6 if (defined $merge_region and $merge_region->overlaps($exon)) { }
472 0 2 if $exon->stop > $merge_region->stop