Condition Coverage

Bio/DB/Flat/BinarySearch.pm
Criterion Covered Total %
condition 17 38 44.7


and 3 conditions

line !l l&&!r l&&r condition
296 0 1 0 $self->index_directory and $self->read_config_file
306 0 0 1 $self->write_flag and not $primary_namespace
410 0 0 0 $self->index_directory and $self->read_config_file
548 0 0 0 $record =~ /^$newid/ and $pos >= 0
882 1 5 0 $count > 0 and $count % 1000 == 0

or 2 conditions

line l !l condition
302 1 0 $format ||= 'fasta'

or 3 conditions

line l !l&&r !l&&!r condition
855 0 0 58 $self->{'alphabet'} ||= $self->guess_alphabet($_)
859 0 0 6 $self->{'alphabet'} ||= $self->guess_alphabet($_)
1141 0 0 7 not defined $length or $length <= 0
1159 1 4 2 not exists $self->{'_maxidlength'} or length $id >= $self->{'_maxidlength'}
1163 1 6 0 not exists $self->{'_maxfileidlength'} or length $fileid >= $self->{'_maxfileidlength'}
1167 1 6 0 not exists $self->{'_maxposlength'} or length $pos >= $self->{'_maxposlength'}
1171 1 6 0 not exists $self->{'_maxlengthlength'} or length $length >= $self->{'_maxlengthlength'}