Bio/DB/IndexedBase.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 57 | 61.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
400 | 9 | 0 | 0 | $^O =~ /^MSWin/i and eval 'use Win32; 1' |
741 | 25 | 0 | 20 | not defined $start || defined $stop || defined $strand and $id =~ /$compound_id/x |
line | l | !l | condition |
---|---|---|---|
384 | 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 | |
390 | 1 | 19 | ref $path || '' |
666 | 0 | 20 | (stat $index)[9] || 0 |
675 | 63 | 0 | (stat $file)[9] || 0 |
750 | 7 | 2 | $self->length($id) || 0 |
752 | 13 | 32 | $strand ||= 1 |
855 | 9 | 0 | 'IO::File'->new($path) || (return) |
1178 | 1 | 0 | $self->next_seq || undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
396 | 1 | 18 | 0 | $self->{'index_name'} ||= $self->_default_index_name($path) |
486 | 9 | 0 | 0 | $self->{'index_name'} ||= $self->_default_index_name($dir) |
524 | 10 | 0 | 0 | $self->{'index_name'} ||= $self->_default_index_name($file) |
551 | 0 | 1 | 0 | $self->{'index_name'} ||= "fileset_$digest.index" |
688 | 12 | 8 | 0 | $force_reindex || scalar @updated > 0 |
741 | 0 | 0 | 20 | defined $start || defined $stop || defined $strand |
750 | 36 | 7 | 2 | $stop ||= $self->length($id) || 0 |
751 | 36 | 7 | 2 | $start ||= $stop > 0 ? 1 : 0 |
1131 | 4 | 0 | 23 | $self->{'clean'} or $self->{'indexing'} |