Branch Coverage

blib/lib/GenOO/GeneCollection/Factory/GTF.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
105 0 5808 unless my $transcript_id = $record->attribute('transcript_id')
106 0 5808 unless my $gene_id = $record->attribute('gene_id')
108 0 5808 if ($record->strand == 0)
115 348 5460 if (not defined $transcript) { }
127 156 192 if (not exists $genes{$uniq_gene_id}) { }
141 192 0 if ($gene->contains_position($record->start, 0))
151 0 192 if ($found == 0)
165 180 5280 if ($record->start < $transcript->start)
168 3342 2118 if ($record->stop > $transcript->stop)
173 2982 2826 if ($record->feature eq 'exon') { }
270 2556 elsif ($record->feature eq 'start_codon') { }
270 2286 elsif ($record->feature eq 'stop_codon') { }
178 168 102 if ($record->strand == 1) { }
102 0 elsif ($record->strand == -1) { }
186 168 102 if ($record->strand == 1) { }
102 0 elsif ($record->strand == -1) { }