Condition Coverage

Bio/SearchIO/sim4.pm
Criterion Covered Total %
condition 24 54 44.4


and 3 conditions

line !l l&&!r l&&r condition
267 0 8 32 defined $_ and $i < 4
474 337 35 6 defined $type and $type eq 'result'
509 0 0 337 defined $data->{'Data'} and not $data->{'Data'} =~ /^\s+$/
511 41 260 36 $self->in_element('hsp') and $data->{'Name'} =~ /Hsp\_(qseq|hseq|midline)/

or 2 conditions

line l !l condition
347 0 0 $self->{'_currentHSP'}{'Hsp_qseq'} or ''
350 0 0 $self->{'_currentHSP'}{'Hsp_hseq'} or ''
437 4 24 $self->{'_currentHSP'}{'Hsp_midline'} ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
347 4 0 0 $self->{'_currentHSP'}{'Hsp_query-from'} ||= $alignment{'Query'}{'start'} - length($self->{'_currentHSP'}{'Hsp_qseq'} or '')
350 4 0 0 $self->{'_currentHSP'}{'Hsp_hit-from'} ||= $alignment{'Sbjct'}{'start'} - length($self->{'_currentHSP'}{'Hsp_hseq'} or '')
439 28 0 0 $self->{'_currentHSP'}{'Hsp_query-to'} ||= $self->{'_currentHSP'}{'Hsp_query-from'} + length($self->{'_currentHSP'}{'Hsp_qseq'}) - 1 - $self->{'_currentHSP'}{'Hsp_querygaps'}
441 28 0 0 $self->{'_currentHSP'}{'Hsp_hit-to'} ||= $self->{'_currentHSP'}{'Hsp_hit-from'} + length($self->{'_currentHSP'}{'Hsp_hseq'}) - 1 - $self->{'_currentHSP'}{'Hsp_hitgaps'}
443 0 4 24 $self->{'_currentHSP'}{'Hsp_identity'} ||= $self->{'_currentHSP'}{'Hsp_midline'} =~ tr/|//
444 28 0 0 $self->{'_currentHSP'}{'Hsp_qlength'} ||= abs($self->{'_currentHSP'}{'Hsp_query-to'} - $self->{'_currentHSP'}{'Hsp_query-from'}) + 1
445 28 0 0 $self->{'_currentHSP'}{'Hsp_hlength'} ||= abs($self->{'_currentHSP'}{'Hsp_hit-to'} - $self->{'_currentHSP'}{'Hsp_hit-from'}) + 1
446 28 0 0 $self->{'_currentHSP'}{'Hsp_align-len'} ||= abs($self->{'_currentHSP'}{'Hsp_query-to'} - $self->{'_currentHSP'}{'Hsp_query-from'}) + 1
447 0 4 24 $self->{'_currentHSP'}{'Hsp_score'} ||= int 100 * ($self->{'_currentHSP'}{'Hsp_identity'} / $self->{'_currentHSP'}{'Hsp_align-len'})
536 0 0 0 defined $name || defined $self->{'_elements'}
0 0 0 not defined $name || defined $self->{'_elements'} or scalar @{$self->{'_elements'};} == 0
648 76 6 0 $self->{'_handler_cache'} ||= $self->_eventHandler