Branch Coverage

blib/lib/Bio/MUST/Core/SeqId.pm
Criterion Covered Total %
branch 45 46 97.8


line true false branch
6369 5 2767 if ($strain =~ /\A (:?(?<strain>.*)_)? (?<gca>$Bio::MUST::Core::SeqId::NCBIGCA) \z/msx) { }
2711 56 elsif ($strain =~ /\A (:?(?<strain>.*)_)? (?<taxon_id>$Bio::MUST::Core::SeqId::NCBIPKEY) \z/msx) { }
6408 10 13114 if (defined $strain)
6420 128 12986 if (defined $gi)
6432 16 12970 if ($match)
6442 5 12965 if ($self->full_id =~ /~$Bio::MUST::Core::SeqId::NCBIGCA/msx)
6450 10954 2011 unless (defined $genus)
6461 10143 811 unless (defined $genus)
6469 29 2793 if (defined $family)
6471 3 26 if (defined $is_hyphenated{$hyphenated})
6478 2763 59 if (defined $strain)
6480 1 2762 if (defined $is_underscored{$underscored})
6496 2762 60 if defined $strain
6497 2425 397 if $acc =~ /$Bio::MUST::Core::SeqId::PKEYONLY/msx
6500 6 2816 if $new
6582 180 843 if $self->is_foreign
6672 24 0 $species ? :
4 4 $keep_strain ? :
8 16 $strain ? :
22 2 $taxon_id ? :
8 16 $accession ? :
6697 8 16 if $strain
6712 2 27 if $org =~ /\b cf \.? \s+ \D+ \s+/gimsx