Branch Coverage

blib/lib/Bio/Gonzales/Feat/IO/GFF3.pm
Criterion Covered Total %
branch 44 76 57.8


line true false branch
50 1 1 if $self->mode eq '<'
60 0 4 if not $l or $l =~ /^\s*$/
62 1 3 if ($l =~ /^##gff-version\s+(\d+)/) { }
1 2 elsif ($l =~ /$SEQ_REGION_RE/) { }
0 2 elsif ($l =~ /^\#\#(feature-ontology)\s+(.*)$/) { }
0 2 elsif ($l =~ /^\#\#(attribute-ontology)\s+(.*)$/) { }
0 2 elsif ($l =~ /^\#\#(source-ontology)\s+(.*)$/) { }
0 2 elsif ($l =~ /^\#\#(species)\s+(.*)$/) { }
0 2 elsif ($l =~ /^\#\#(genome-build)\s+(.*)$/) { }
0 2 elsif ($l =~ /^(\#\#\#)/) { }
0 2 elsif ($l =~ /^(\#\#FASTA)/) { }
0 2 elsif ($l =~ /$FASTA_RE/) { }
63 0 1 if $1 != 3
90 1 3 unless $l =~ /^\#/
101 0 1 if $self->no_header
129 0 1265 if ($l =~ /^\#/)
132 2 1263 if ($l =~ /$FASTA_RE/)
147 1 76 if ($l =~ /$SEQ_REGION_RE/) { }
0 76 elsif ($l =~ /^\#\#\#/) { }
16 60 elsif ($l =~ /^\#/ or $l =~ /^\s*$/ or $l =~ m[^//]) { }
3 57 elsif ($l =~ /$FASTA_RE/) { }
161 1 57 unless $l
175 0 0 if ($l =~ /$SEQ_REGION_RE/) { }
0 0 elsif ($l =~ /^\#\#\#/) { }
0 0 elsif ($l =~ /^\#/ or $l =~ /^\s*$/ or $l =~ m[^//]) { }
0 0 elsif ($l =~ /$FASTA_RE/) { }
189 0 0 unless $l
198 0 141 unless $self->_wrote_sth_before
202 0 141 unless &blessed($f) eq 'Bio::Gonzales::Feat'
215 1 2 unless $self->_wrote_sth_before
236 114 0 if (defined $value) { }
241 0 0 unless $self->quiet
252 0 57 unless @d == 9
255 0 57 if (ref $self->preprocess eq 'CODE')
261 9 48 if ($d[6] eq '-') { }
38 10 elsif ($d[6] eq '+') { }
267 412 101 unless $d[$i] eq '.'
283 0 0 if $sub