Condition Coverage

blib/lib/Bio/DB/BioFetch.pm
Criterion Covered Total %
condition 12 21 57.1


and 3 conditions

line !l l&&!r l&&r condition
550 3 1 1 $id =~ /^(AC|NC|NG|NM|NR|NS)_/ and $self->db ne 'refseqn'
4 0 0 $id =~ /^(AP|NP|XP|YP)_/ and $self->db ne 'refseqp'

or 3 conditions

line l !l&&r !l&&!r condition
208 3 2 0 $db ||= $self->default_db
355 8 0 0 $format ||= $self->default_format
422 70 4 0 $self->{'_db'} || $self->default_db
428 30 0 0 $Bio::DB::BioFetch::FORMATMAP{$db}{'namespace'} || $db
496 16 6 0 $format eq 'default' or $Bio::DB::BioFetch::FORMATMAP{$db}{$format}