| Bio/SearchIO/Writer/TextResultWriter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 21 | 68 | 30.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 210 | 1 | 0 | 0 | defined $resultfilter and not &{$resultfilter;}($result) |
| 266 | 20 | 0 | 0 | defined $hitfilter and not &{$hitfilter;}($hit) |
| 298 | 21 | 0 | 0 | defined $hspfilter and not &{$hspfilter;}($hsp) |
| 353 | 0 | 21 | 0 | defined $hframe and not defined $qframe |
| 0 | 21 | 0 | defined $qframe and not defined $hframe | |
| 364 | 0 | 0 | 21 | $links and $hsp->can('links') |
| 0 | 21 | 0 | $links and $hsp->can('links') and defined(my $lnks = $hsp->links) | |
| 479 | 0 | 25 | 1 | defined $expect and $stat eq 'seqs_better_than_cutoff' |
| 736 | 0 | 0 | 0 | defined $result and ref $result |
| 0 | 0 | 0 | defined $result and ref $result and $result->isa('Bio::Search::Result::ResultI') |
| line | l | !l | condition |
|---|---|---|---|
| 204 | 1 | 0 | $num ||= 0 |
| 370 | 21 | 0 | $qstrand || 1 |
| 21 | 0 | $hstrand || 1 | |
| 445 | 1 | 0 | $result->get_parameter('matrix') || '' |
| 460 | 0 | 0 | $open || 0 |
| 0 | 0 | $result->get_parameter('gapext') || 0 | |
| 516 | 0 | 1 | $self->{'_start_report'} || \&Bio::SearchIO::Writer::TextResultWriter::default_start_report |
| 556 | 0 | 1 | $self->{'_title'} || \&Bio::SearchIO::Writer::TextResultWriter::default_title |
| 604 | 0 | 1 | $self->{'_introduction'} || \&Bio::SearchIO::Writer::TextResultWriter::default_introduction |
| 685 | 0 | 20 | $self->{'_id_parser'} || \&Bio::SearchIO::Writer::TextResultWriter::default_id_parser |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 218 | 0 | 0 | 0 | $alg =~ /(FAST|BLAST)N/i or $alg =~ /(WABA|EXONERATE)/i |
| 0 | 0 | 0 | $alg =~ /(FAST|BLAST)P/ or $alg =~ /SSEARCH|(HMM|SEARCH|PFAM)/i | |
| 247 | 0 | 1 | 0 | not defined $num or $num <= 1 |
| 253 | 1 | 0 | 0 | $result->algorithm_reference || $self->algorithm_reference($result) |
| 334 | 21 | 0 | 0 | $hstrand or $qstrand |
| 445 | 1 | 0 | 0 | $result->get_statistic('posted_date') || POSIX::strftime('%b %d, %Y %I:%M %p', localtime) |