Branch Coverage

Bio/Tools/Genscan.pm
Criterion Covered Total %
branch 57 68 83.8


line true false branch
149 0 3 if ($method and not $method =~ /genscan/i)
203 3 6 unless $self->_predictions_parsed
208 7 2 if ($gene)
214 7 0 unless ($seqobj)
218 6 1 if ($id and $seq)
224 6 1 if ($seqobj)
231 0 6 if (not $seqobj->display_id =~ /_predicted_\w+_$prednr\|/) { }
237 6 0 if ($self->_has_cds)
268 85 59 if (/^\s*(\d+)\.(\d+)/)
272 7 78 unless (defined $gene)
283 74 11 if ($is_exon) { }
292 10 75 $flds[2] eq '+' ? :
294 10 75 if ($predobj->strand == 1) { }
303 74 11 if ($is_exon) { }
6 5 elsif ($flds[1] eq 'PlyA') { }
5 0 elsif ($flds[1] eq 'Prom') { }
318 6 68 if ($predobj->strand == 1) { }
322 6 0 if $cod_offset < 1
332 56 12 if $cod_offset >= 0
350 7 52 if (/^\s*$/ and defined $gene)
357 3 49 if (/^(GENSCAN)\s+(\S+)/)
362 3 46 if (/^Sequence\s+(\S+)\s*:/)
367 3 43 if (/^Parameter matrix:\s+(\S+)/i)
372 3 40 if (/^Predicted coding/)
376 2 38 if (/^>/)
398 2 7 unless exists $self->{'_preds'} and @{$self->{'_preds'};}
415 0 7 unless (exists $self->{'_preds'})
434 3 9 if $val
435 0 12 unless (exists $self->{'_preds_parsed'})
454 3 6 if $val
455 0 9 unless (exists $self->{'_has_cds'})
479 12 1 if ($entry)
483 0 2 unless $_ = $self->_readline
490 12 0 if ($entry =~ /^(\S+)\n([^>]+)/) { }