Branch Coverage

blib/lib/CracTools/Annotator.pm
Criterion Covered Total %
branch 21 38 55.2


line true false branch
116 0 1 unless (defined $gff_file)
173 2 0 if (defined $$candi1{'gene'})
178 2 0 if (defined $$candi2{'gene'})
184 1 0 if ($gene_id eq $_)
189 1 0 if $found_same_gene == 1
212 1 0 unless defined $prioritySub
218 1 1 if ($priority != -1)
219 1 0 if (not defined $best_priority or $priority < $best_priority)
263 8 12 if (scalar @parents == 0)
290 1 1 if (defined $mRNA)
291 1 0 if ($mRNA->attribute('type') =~ /protein_coding/i) { }
292 1 0 if (defined $exon)
293 1 0 if ($exon->start > $pos_start or $exon->end < $pos_end) { }
295 0 1 if (defined $$candidate{'three'}) { }
0 1 elsif (defined $$candidate{'five'}) { }
1 0 elsif (defined $$candidate{'cds'}) { }
310 0 0 if (defined $exon)
311 0 0 if ($exon->start > $pos_start or $exon->end < $pos_end)
363 12 48 if ($parent eq $annot_id)