Condition Coverage

Bio/SearchIO/erpin.pm
Criterion Covered Total %
condition 25 42 59.5


and 3 conditions

line !l l&&!r l&&r condition
367 0 5 1 defined $type and $type eq 'result'
415 5 5 1 defined $type and $type eq 'result'
452 0 7 0 $data and ref $data
454 0 51 0 $data->{$nm} and $data->{$nm} =~ /^\s*$/o
481 0 0 5 defined $data->{'Data'} and not $data->{'Data'} =~ /^\s+$/o
502 0 0 2 defined $name && defined $self->{'_elements'}

or 3 conditions

line l !l&&r !l&&!r condition
190 0 0 1 $cutoff ||= $MINSCORE
192 1 0 0 $version ||= $DEFAULT_VERSION
221 1 3 6 index($line, 'FW') == 0 or index($line, 'RC') == 0
238 1 0 6 index($line, '>') == 0 or index($line, '-------- at level 1 --------') == 0
280 1 0 1 not $lasthit or $id ne $lasthit
323 1 1 2 not $lastscore or $lastscore < $score
324 1 1 2 not $lasteval or $lasteval > $eval
502 0 0 2 not defined $name && defined $self->{'_elements'} or scalar @{$self->{'_elements'};} == 0