Branch Coverage

Bio/Search/Result/GenericResult.pm
Criterion Covered Total %
branch 83 98 84.6


line true false branch
208 181 61 if defined $algo
209 136 106 if defined $algo_v
210 69 173 if defined $algo_r
212 9 233 if defined $rid
214 173 69 if defined $qname
215 113 129 if defined $qacc
216 135 107 if defined $qdesc
217 146 96 if defined $qlen
218 0 242 if defined $qgi
219 105 137 if defined $dbname
220 95 147 if defined $dblet
221 94 148 if defined $dbent
223 0 242 if defined $hit_factory
225 93 149 if (defined $params)
226 0 93 unless (ref($params) =~ /hash/i)
234 93 149 if (defined $stats)
235 0 93 unless (ref($stats) =~ /hash/i)
244 84 158 if (defined $hits)
245 0 84 unless ref($hits) =~ /array/i
267 242 127 if (defined $value or not defined $previous)
268 0 242 unless defined $value
287 136 50 if (defined $value or not defined $previous)
288 0 136 unless defined $value
314 0 1198 if $index > scalar @{$self->{'_hits'};}
317 1175 23 if (ref $hit eq 'HASH')
340 238 153 if (defined $value or not defined $previous)
341 4 234 unless defined $value
360 176 17 if (defined $value or not defined $previous)
361 2 174 unless defined $value
380 0 8 if (defined $value) { }
383 8 0 $self->query_name =~ /^gi\|(\d+)/ ? :
402 149 112 if (defined $value or not defined $previous)
403 3 146 unless defined $value
423 205 28 if (defined $value or not defined $previous)
424 9 196 unless defined $value
445 105 35 if (defined $value or not defined $previous)
446 0 105 unless defined $value
468 99 27 if (defined $value or not defined $previous)
469 4 95 unless defined $value
490 99 25 if (defined $value or not defined $previous)
491 5 94 unless defined $value
576 4743 0 if (ref $s eq 'HASH' or $s->isa('Bio::Search::Hit::HitI')) { }
583 4680 63 if (ref $s eq 'HASH')
601 180 1257 if (@_)
682 0 32 unless (defined $self->{'_hits'})
703 0 5 unless $self->{'_hashes'}
710 5 0 if (ref $self->{'_hits'})
730 69 40 if (defined $value)
765 9 5 if (defined $value)