Branch Coverage

Bio/SeqIO/locuslink.pm
Criterion Covered Total %
branch 37 56 66.0


line true false branch
297 1 0 if (not $self->sequence_factory)
315 0 114 if ($searchconfirm ne 'FALSE')
316 0 0 unless @query
318 0 0 unless ($_ =~ /$searchconfirm/)
344 27 9 $ref ? :
346 50 0 if ($id)
363 2 0 if ($results)
366 2 0 if @ids
379 0 43 unless $anntype
381 41 2 if ($anntype eq 'SimpleValue')
385 2 0 if ($anntype eq 'Comment')
400 4 0 $textref ? :
417 43 7 unless (exists $seen{$dbl->as_text})
437 1 2 unless my $entry = $self->_readline
440 1 1 if (index($entry, '>>') == 0)
448 0 2 unless ($entry =~ /LOCUSID/)
454 0 2 if ($entry =~ /^CURRENT_LOCUSID:/m)
465 89 25 @results ? :
472 0 2 unless %record
478 2 2 if ($record{$key})
489 2 0 if ($record{'CDD'})
494 4 12 if ($cdd =~ /$key/)
499 4 4 unless $PRESENT
512 2 0 if ($record{'GO'})
528 27 13 if ($record{$key})
539 12 4 if ($record{$field})
547 2 0 if ($record{'ASSEMBLY'})
554 0 4 if (not $record{$fieldval} and $record{$alternate_map{$fieldval}})