Condition Coverage

Bio/SearchIO/Writer/HTMLResultWriter.pm
Criterion Covered Total %
condition 27 85 31.7


and 3 conditions

line !l l&&!r l&&r condition
185 0 0 82 defined $type and $type =~ /^(P|N)/i
219 1 0 0 defined $resultfilter and not &{$resultfilter;}($result)
272 20 0 0 $hitfilter and not &{$hitfilter;}($hit)
319 21 0 0 $hspfilter and not &{$hspfilter;}($hsp)
373 0 21 0 defined $hframe and not defined $qframe
0 21 0 defined $qframe and not defined $hframe
383 0 0 21 $links and $hsp->can('links')
0 21 0 $links and $hsp->can('links') and defined(my $lnks = $hsp->links)
919 0 0 0 defined $result and ref $result
0 0 0 defined $result and ref $result and $result->isa('Bio::Search::Result::ResultI')

or 2 conditions

line l !l condition
213 1 0 $num ||= 0
320 21 0 $hsp->evalue || ''
390 21 0 $qstrand || 1
21 0 $hstrand || 1
513 0 20 $self->{'_hit_link_desc'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_hit_link_desc
579 0 20 $self->{'_hit_link_align'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_hit_link_desc
600 0 20 $self->{'_hit_desc_line'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_hit_desc_line
679 0 1 $self->{'_start_report'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_start_report
729 0 1 $self->{'_title'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_title
780 0 1 $self->{'_introduction'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_introduction
859 0 60 $self->{'_id_parser'} || \&Bio::SearchIO::Writer::HTMLResultWriter::default_id_parser

or 3 conditions

line l !l&&r !l&&!r condition
153 0 1 0 $p || $Bio::SearchIO::Writer::HTMLResultWriter::RemoteURLDefault{'PROTEIN'}
154 0 1 0 $n || $Bio::SearchIO::Writer::HTMLResultWriter::RemoteURLDefault{'NUCLEOTIDE'}
224 0 0 0 $alg =~ /(FAST|BLAST)N/i or $alg =~ /(WABA|EXONERATE)/i
0 0 0 $alg =~ /(FAST|BLAST)P/ or $alg =~ /SSEARCH|HMM(PFAM|SEARCH)/i
259 1 0 0 $result->algorithm_reference || $self->algorithm_reference($result)
320 21 0 0 $hsp->bits || $hsp->score
21 0 0 $hsp->score || $hsp->bits
354 21 0 0 $hstrand or $qstrand
469 1 0 0 $pav or $sav
544 0 40 0 $gi || $acc
641 0 0 0 $gi || $acc || $db