Branch Coverage

blib/lib/Bio/FASTASequence.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
18 0 0 unless ($string_text)
25 0 0 if $string_text and not _is_fasta($string_text)
26 0 0 if ($string_text)
33 0 0 if (not $description_line =~ /^>/) { }
38 0 0 if ($description_line =~ /^>gi\|/) { }
0 0 elsif ($description_line =~ /^>sp\|/ or $description_line =~ /^>sptrembl\|/) { }
0 0 elsif ($description_line =~ /^>tr\|/) { }
0 0 elsif ($description_line =~ /^>[XY\d+]/) { }
0 0 elsif ($description_line =~ /^>[0-9A-Za-z_]+\s?/) { }
66 0 0 if ($description_line =~ /^IPI:/) { }
0 0 elsif ($description_line =~ /^[A-Za-z][0-9][A-Z0-9a-z]{3}[0-9][\s\|]/) { }
0 0 elsif ($description_line =~ /^[A-Za-z0-9_]+\s*?$/) { }
76 0 0 unless ($f_db_nr{'SWISS-PROT'})
79 0 0 unless ($f_db_nr{'ENSEMBL'})
82 0 0 unless ($f_db_nr{'REFSEQ_XP'})
85 0 0 unless ($f_db_nr{'TREMBL'})
95 0 0 if ($description_line =~ /\|/) { }
147 0 0 if ($desc =~ /^>/ and not $seq =~ /[^A-NP-Z\*\-]/i and length $seq > 0)
203 0 0 unless $index == -1
224 0 0 unless ($initialized)
232 0 0 if $high_part & 1
234 0 0 if $flag
258 0 0 unless open W_SEQUENCE, ">$file"
262 0 0 if $$self{'dbrefs'}{$dbkey} ne 'NULL'
279 0 0 if $$self{'dbrefs'}{$dbkey} ne 'NULL'
282 0 0 if $$self{'description'}
295 0 0 if ($$self{'dbrefs'}{$db} and $$self{'dbrefs'}{$db} ne 'NULL') { }
313 0 0 if $${$$self{'dbrefs'};}{$_} ne 'NULL'
315 0 0 if $dbrefs ne ' '