Branch Coverage

Bio/Factory/FTLocationFactory.pm
Criterion Covered Total %
branch 61 64 95.3


line true false branch
152 9940 3801 unless (defined $op)
160 7418 6323 if ($locstr =~ /(.*?)\(($Bio::Factory::FTLocationFactory::LOCREG)\)(.*)/o) { }
170 1 7428 unless $subloc
171 7417 11 $subloc eq 'join' || $subloc eq 'bond' || $subloc eq 'order' || $subloc eq 'complement' ? :
174 7417 11 if ($oparg) { }
177 3627 3790 if ($oparg eq 'join' || $oparg eq 'order' || $oparg eq 'bond' and not $sub =~ /(?:join|order|bond)/) { }
186 0 35515 unless $splitloc
188 43 35472 if ($splitloc =~ /\(($Bio::Factory::FTLocationFactory::LOCREG)\)/) { }
202 3627 0 if (scalar @s_objs > 0)
207 35513 2 if $strand == $first_value
210 3625 2 if ($identical == scalar @subloc_strands) { }
219 15 3610 if ($first_value == -1)
237 7 3783 unless $oparg eq 'complement'
244 1660 5768 if ($op and $op eq 'complement')
252 5294 2134 $loc_obj->isa('Bio::Location::SplitLocationI') ? :
253 10 7418 scalar @loc_objs > 0 ? :
254 2 7426 if ($guide_strand != 0 and $guide_strand == $last_strand and $oparg eq $op) { }
268 0 1667 if ($op and not $op eq 'join' || $op eq 'order' || $op eq 'bond' and $ct > 1)
273 7 7411 if ($ct > 1) { }
283 2123 4200 if $op and $op eq 'complement'
306 139 41699 if ($locstr =~ /^(\S+):(.*)$/o)
318 41828 10 if $start
319 41034 804 if $end
325 41 41797 if $locstr =~ /\?/ and not $locstr =~ /\?\d+/
328 794 41044 unless (defined $end)
329 35 759 if ($locstr =~ /(\d+)([\.\^])(\d+)/) { }
333 21 14 unless abs $end - $start <= 1 and $loctype eq '^'
343 456 41382 if ($start =~ /[\>\<\?\.\^]/ or $end =~ /[\>\<\?\.\^]/)
345 435 21 if ($start =~ /(\d+)/) { }
350 435 21 if ($end =~ /(\d+)/) { }
356 13 41825 if ($start_num > $end_num and $loctype ne '?')
366 139 41699 if ($seqid)