Condition Coverage

Bio/DB/IndexedBase.pm
Criterion Covered Total %
condition 36 57 63.1


and 3 conditions

line !l l&&!r l&&r condition
399 9 0 0 $^O =~ /^MSWin/i and eval 'use Win32; 1'
746 25 0 20 not defined $start || defined $stop || defined $strand and $id =~ /$compound_id/x

or 2 conditions

line l !l condition
383 0 20 $opts{'-debug'} || 0
20 0 $opts{'-glob'} || eval '$' . $class . '::file_glob' || '*'
0 20 $opts{'-maxopen'} || 32
3 17 $opts{'-clean'} || 0
0 20 $opts{'-dbmargs'} || undef
389 1 19 ref $path || ''
671 0 20 (stat $index)[9] || 0
680 63 0 (stat $file)[9] || 0
755 7 2 $self->length($id) || 0
757 13 32 $strand ||= 1
861 9 0 'IO::File'->new($path) || (return)
1184 1 0 $self->next_seq || undef

or 3 conditions

line l !l&&r !l&&!r condition
395 1 18 0 $self->{'index_name'} ||= $self->_default_index_name($path)
485 9 0 0 $self->{'index_name'} ||= $self->_default_index_name($dir)
526 10 0 0 $self->{'index_name'} ||= $self->_default_index_name($file)
553 0 1 0 $self->{'index_name'} ||= "fileset_$digest.index"
693 12 8 0 $force_reindex || scalar @updated > 0
746 0 0 20 defined $start || defined $stop || defined $strand
755 36 7 2 $stop ||= $self->length($id) || 0
756 36 7 2 $start ||= $stop > 0 ? 1 : 0
1137 4 2 21 $self->{'clean'} or $self->{'indexing'}