Branch Coverage

blib/lib/Bio/Cigar.pm
Criterion Covered Total %
branch 35 38 92.1


line true false branch
125 12 1 if (@_ == 1 and not ref $_[0]) { }
220 38 39 $from eq 'rpos' ? :
225 5 72 if $target < 1 or $target > $self->$target_len
235 0 222 unless $$consumes[0] or $$consumes[1]
237 195 27 if $$consumes[0]
238 150 72 if $$consumes[1]
244 114 108 if ($from eq 'rpos') { }
245 21 93 if ($rpos > $target)
250 36 78 if ($rpos == $target)
251 3 33 if ($$consumes[1] and not $$consumes[0]) { }
254 2 1 wantarray ? :
256 0 33 unless $qpos <= $self->query_length
260 22 11 wantarray ? :
264 18 90 if ($qpos > $target)
269 36 72 if ($qpos == $target)
270 12 24 if ($$consumes[0] and not $$consumes[1]) { }
273 8 4 wantarray ? :
275 0 24 unless $rpos <= $self->reference_length
279 16 8 wantarray ? :