Branch Coverage

Bio/SearchIO/Writer/GbrowseGFF.pm
Criterion Covered Total %
branch 33 88 37.5


line true false branch
111 0 1 if $self->{'_evalue'}
164 0 1 if $reference
169 0 1 unless $reference
179 0 1 unless defined $gffio
187 1 0 if $result->can('rewind')
188 0 1 if defined $resultfilter and not &{$resultfilter;}($result)
192 0 2 if (defined $self->{'_evalue'})
193 0 0 unless $hit->significance < $self->{'_evalue'}
195 0 2 if defined $hitfilter and not &{$hitfilter;}($hit)
197 2 0 $reference eq 'hit' ? :
198 2 0 $reference eq 'hit' ? :
199 2 0 if ($self->{'_signif'}) { }
204 0 2 unless $refseq
206 0 2 unless $refseq
207 0 2 unless $source eq 'BLASTN'
217 0 5 if (defined $self->{'_evalue'})
219 0 0 unless $hsp->significance < $self->{'_evalue'}
221 0 5 if defined $hspfilter and not &{$hspfilter;}($hsp)
222 5 0 if ($hsp->hit->strand >= 0)
224 3 2 if (defined $qpmin) { }
225 0 3 if $hsp->query->start < $qpmin
226 2 1 if $hsp->query->end > $qpmax
227 0 3 if $hsp->hit->start < $spmin
228 2 1 if $hsp->hit->end > $spmax
236 0 5 if ($hsp->hit->strand < 0)
238 0 0 if (defined $qmmin) { }
239 0 0 if $hsp->query->start < $qmmin
240 0 0 if $hsp->query->end > $qmmax
241 0 0 if $hsp->hit->start < $smmin
242 0 0 if $hsp->hit->end > $smmax
252 0 2 unless scalar(@plus_hsps) + scalar(@minus_hsps)
261 2 0 if (scalar @plus_hsps)
264 0 2 if ($format == 2.5) { }
271 2 0 if ($self->{'_cigar'})
290 0 2 if (scalar @minus_hsps)
293 0 0 if ($format == 2.5) { }
329 0 5 if ($format == 2.5) { }
337 5 0 if ($self->{'_cigar'})
368 0 0 if ($format == 2.5) { }
376 0 0 if ($self->{'_cigar'})
401 0 0 unless $method
403 0 0 if ($method ne 'HSP' and $method ne 'HIT' and $method ne 'RESULT')
409 0 0 if ($code)
410 0 0 unless ref($code) =~ /CODE/