Branch Coverage

blib/lib/BioX/Seq/Stream/FASTA.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
21 0 10 if $self->{'buffer'} =~ /[\r\n]/
29 9 1 if ($self->{'buffer'} =~ /([\r\n]{1,2})$/) { }
39 9 0 if ($self->{'buffer'} =~ /^>(\S+)\s*(.+)?$/) { }
70 108 584 if ($line =~ /^>(\S+)\s*(.+)?$/) { }
76 59 49 unless ($self->{'fast'})
79 1 58 if ($seq =~ /[^A-Za-z\-\.\*]/)
98 4 2 if (defined $self->{'next_id'})
103 3 1 unless ($self->{'fast'})
106 0 3 if ($seq =~ /[^A-Za-z\-\.\*]/)