Branch Coverage

Bio/LiveSeq/Translation.pm
Criterion Covered Total %
branch 15 38 39.4


line true false branch
73 0 6 unless ($transcript)
76 0 6 unless (ref $transcript eq 'Bio::LiveSeq::Transcript')
146 22 0 if ($stop_pos == -1) { }
158 0 22 if ($stop_pos == -1) { }
193 0 0 if ($label == $labels[$i])
205 0 0 if ($position > 0) { }
223 0 10 if ($position == 0) { }
10 0 elsif ($position > 0) { }
226 6 4 if ($modulus != 1)
227 0 6 if $self->verbose > 0
229 2 4 if ($modulus == 2) { }
237 0 0 if ($modulus != 0)
238 0 0 if $self->verbose > 0
292 5 0 if ($start)
293 0 5 unless ($transcript->valid($start))
298 5 0 if ($end)
299 5 0 if ($end == $start) { }
302 0 0 unless ($transcript->valid($end))
305 0 0 unless ($transcript->follows($start, $end) == 1)