Branch Coverage

blib/lib/GenOO/Gene.pm
Criterion Covered Total %
branch 24 48 50.0


line true false branch
196 2 0 if (defined $self->transcripts) { }
208 1 0 if (defined $self->transcripts) { }
220 350 0 if (defined $transcript and $transcript->isa('GenOO::Transcript')) { }
243 1 3 if (exists $counts{$exon->location} and $counts{$exon->location} == $transcript_count)
272 1 3 if (exists $counts{$exon->location} and $counts{$exon->location} == $transcript_count)
291 1 0 if ($transcript->is_coding)
361 355 0 if (defined $self->transcripts)
365 0 355 if (not defined $strand) { }
377 355 0 if (defined $self->transcripts)
381 0 355 if (not defined $chromosome) { }
393 193 0 if (defined $self->transcripts)
395 194 180 if (not defined $start or $start > $transcript->start)
401 0 193 if (not defined $start) { }
413 193 0 if (defined $self->transcripts)
415 235 139 if (not defined $stop or $stop < $transcript->stop)
421 0 193 if (not defined $stop) { }
448 0 2 if @e_regions < 2
467 0 0 unless $transcript->is_coding
468 0 0 unless defined $transcript->utr5
482 0 0 unless $transcript->is_coding
496 0 0 unless $transcript->is_coding
497 0 0 unless defined $transcript->utr3
514 4 12 if (defined $merge_region and $merge_region->overlaps_with_offset($exon, 1, 1)) { }
517 0 4 if $exon->stop > $merge_region->stop