Condition Coverage

Bio/SeqIO/swiss.pm
Criterion Covered Total %
condition 64 100 64.0


and 3 conditions

line !l l&&!r l&&r condition
265 5 31 1 defined($_ = $self->_readline) and /^\s+$/
266 5 0 31 defined $_ and /^ID\s/
368 0 30 474 defined($_ = $self->_readline) and /^CC\s{3}(.*)/
447 0 31 443 defined $_ and /^FT/
462 0 31 0 defined $_ and not /^SQ/
503 0 0 4 ref $seq and $seq->isa('Bio::SeqI')
511 0 1 3 $seq->can('namespace') && $seq->namespace
514 1 0 3 $seq->can('division') and defined($div = $seq->division)
519 0 1 3 defined $ns and $ns ne ''
633 0 1 3 $seq->can('species') and my $spec = $seq->species
716 15 0 12 defined $dblink->comment and $dblink->comment
745 0 0 3 $kw and not $kw =~ /\.$/
804 140 0 24 ($i + 10) % 60 == 0 and $i + 10 < length $str
810 0 0 4 $self->_flush_on_write and defined $self->_fh
951 0 0 9 ref $fth and $fth->isa('Bio::SeqIO::FTHelper')
1135 93 30 30 /^OS\s+(\S.+)/ and not defined $sci_name
30 2 29 /^OX\s+(.*)/ and not defined $ncbi_taxid
1161 0 13 0 not defined $variant and $item =~ /(^|[^\(\w])([Ss]train|isolate|serogroup|serotype|subtype|clone)\b/ || $item =~ /^(biovar|pv\.|type\s+)/
1174 13 0 0 index($common, '(') >= 0 and index($common, ')') < 0
1228 0 30 0 $species and $species =~ /subsp\.|var\./
1296 59 0 384 $4 and length $4 > 0
1304 0 443 312 defined($_ = $self->_readline) and /^FT\s{20,}(\S.*)$/
1329 59 0 384 $desc and length $desc

or 2 conditions

line l !l condition
421 19 0 $rest ||= ''
948 0 9 $always_quote ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
288 5 21 5 $seq_div eq 'Reviewed' || $seq_div eq 'STANDARD'
2 2 1 $seq_div eq 'Unreviewed' || $seq_div eq 'PRELIMINARY'
327 19 11 60 $version =~ /\(Rel\. (\d+), Last sequence update\)/ or /sequence version (\d+)/
19 11 30 $version =~ /\(Rel\. (\d+), Last annotation update\)/ or /entry version (\d+)/
672 0 0 3 $ref->medline or $ref->pubmed
0 0 3 $ref->medline or $ref->pubmed or $ref->doi
1039 30 227 1556 /^[^R]/ or /^RN/
1161 0 0 13 $item =~ /(^|[^\(\w])([Ss]train|isolate|serogroup|serotype|subtype|clone)\b/ || $item =~ /^(biovar|pv\.|type\s+)/
1405 3 6 45 $pre1 eq 'RA ' or $pre1 eq 'KW '