Condition Coverage

blib/lib/Bio/DB/SwissProt.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
182 3 0 0 $format and not $format =~ /(swiss)|(fasta)/i
366 57 0 3 defined $servertype and $servertype ne ''
399 5 0 0 defined $location and $location ne ''
426 0 0 5 defined $location and defined $servertype

or 2 conditions

line l !l condition
301 5 0 $HOSTS{$self->servertype}{'jointype'} || ' '
302 5 0 $HOSTS{$self->servertype}{'idvar'} || 'id'
378 54 6 $self->{'_servertype'} || $DEFAULTSERVERTYPE

or 3 conditions

line l !l&&r !l&&!r condition
452 0 0 0 $value =~ /sprot/ or $value =~ /swiss/
461 16 0 0 $value =~ /sprot/ or $value =~ /swiss/