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 13224 if (defined $strain)
6420 128 13096 if (defined $gi)
6432 16 13080 if ($match)
6442 5 13075 if ($self->full_id =~ /~$Bio::MUST::Core::SeqId::NCBIGCA/msx)
6450 11053 2022 unless (defined $genus)
6461 10242 811 unless (defined $genus)
6469 29 2804 if (defined $family)
6471 3 26 if (defined $is_hyphenated{$hyphenated})
6478 2763 70 if (defined $strain)
6480 1 2762 if (defined $is_underscored{$underscored})
6496 2762 71 if defined $strain
6497 2436 397 if $acc =~ /$Bio::MUST::Core::SeqId::PKEYONLY/msx
6500 6 2827 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