Branch Coverage

Bio/Tools/PrositeScan.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
86 0 1 unless $format
87 1 0 if (grep /^$format$/i, @Bio::Tools::PrositeScan::FORMATS) { }
97 1 2 if @_
118 1 4 unless ($self->_parsed)
131 1 0 if @_ and $_[0]
138 1 0 if ($self->format =~ /^fasta$/) { }
152 4 6 if (/^\>([^>]+)/) { }
154 4 0 if ($fasta_head =~ m[([^/]+)/(\d+)\-(\d+)(\s+)\:(\s+)(\S+)]) { }
159 3 1 if (defined $fp)
183 1 0 if (defined $fp)
192 4 0 if (defined $fp)