Condition Coverage

blib/lib/TIGR/FASTA/Reader.pm
Criterion Covered Total %
condition 0 105 0.0


and 3 conditions

line !l l&&!r l&&r condition
120 0 0 0 scalar @method_args > 0 and ref($method_args[0]) =~ /foundation/i
132 0 0 0 scalar @method_args > 0 and ref($method_args[0]) =~ /array/i
144 0 0 0 scalar @method_args > 0 and not ref $method_args[0]
164 0 0 0 defined $self->{'db_file_name'} and not defined $self->open($self->{'db_file_name'}, 'r')
194 0 0 0 defined $open_flags and $open_flags =~ /^r$/i
208 0 0 0 defined $db_file_name && ($self->{'db_file_name'} = $db_file_name) && defined $self->{'db_file_name'} && defined($self->{'db_handle'} = 'IO::File'->new($self->{'db_file_name'}, $open_flags))
0 0 0 defined $self->{'db_file_name'} and defined $self->{'db_handle'}
0 0 0 defined $self->{'db_file_name'} and defined $self->{'db_handle'} and $self->_parseDBfile == 0
301 0 0 0 defined $active_num and $active_num =~ /^\d+$/ || $active_num == -1
0 0 0 defined $active_num and $active_num =~ /^\d+$/ || $active_num == -1 and $active_num < $self->count
360 0 0 0 defined $self->{'active_record'} and $self->{'active_record'} >= -1
0 0 0 defined $self->{'active_record'} and $self->{'active_record'} >= -1 and $self->{'active_record'} < $self->count - 1
393 0 0 0 defined $seek_result and $seek_result == 1
419 0 0 0 defined $identifier and exists $self->{'identifier_to_number_hash'}{$identifier}
457 0 0 0 defined $self->{'active_record'} and $self->{'active_record'} > -1
0 0 0 defined $self->{'active_record'} and $self->{'active_record'} > -1 and $self->{'active_record'} < $self->count
0 0 0 defined $self->{'active_record'} and $self->{'active_record'} > -1 and $self->{'active_record'} < $self->count and defined $db_handle
0 0 0 defined $self->{'active_record'} and $self->{'active_record'} > -1 and $self->{'active_record'} < $self->count and defined $db_handle and defined($pos_str = $self->{'number_to_fp_array'}{$self->{'active_record'}})
468 0 0 0 defined $pos_arr[0] and defined $db_handle->seek($pos_arr[0], 0)
0 0 0 defined $pos_arr[0] and defined $db_handle->seek($pos_arr[0], 0) and defined $pos_arr[1]
0 0 0 defined $pos_arr[0] and defined $db_handle->seek($pos_arr[0], 0) and defined $pos_arr[1] and defined read($db_handle, $record, $pos_arr[1] - $pos_arr[0] + 1)
560 0 0 0 defined $db_handle and defined(my $line = readline $db_handle)
0 0 0 defined $db_handle and defined(my $line = readline $db_handle) and ++$line_number
569 0 0 0 defined $record_identifier and not $record_identifier =~ //
0 0 0 defined $record_identifier and not $record_identifier =~ // and &isValidFASTAdata($line) != 0
629 0 0 0 defined $line_number and $line_number > 1
634 0 0 0 defined $pos1 and defined $string
703 0 0 0 defined $record_identifier and not $record_identifier =~ //
733 0 0 0 defined $pos1 and defined $string
774 0 0 0 defined $active_num and $active_num < $self->{'active_record'}
0 0 0 defined $active_num and $active_num == $self->{'active_record'}
822 0 0 0 defined $message and defined $tf_level
0 0 0 defined $message and defined $tf_level and defined $log_facility
835 0 0 0 defined $self->{'error_ref'} and $log_facility == $USR_ERR

or 3 conditions

line l !l&&r !l&&!r condition
301 0 0 0 $active_num =~ /^\d+$/ || $active_num == -1