Bio/DB/Taxonomy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 24 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
330 | 0 | 0 | 6910 | ref $taxon and $taxon->isa('Bio::Taxon') |
338 | 4519 | 0 | 2391 | not defined $iid and $try_name |
4519 | 3 | 2388 | not defined $iid and $try_name and $name | |
3 | 846 | 1542 | not defined $iid and $try_name and $name and exists $Bio::DB::Taxonomy::TAXON_IIDS->{'names'}{$name} | |
345 | 1029 | 0 | 0 | $test_db eq $dbh and not $test_taxid eq $taxid |
line | l | !l | condition |
---|---|---|---|
332 | 6910 | 0 | $taxon->id || (return) |
333 | 6903 | 7 | $taxon->scientific_name || '' |
334 | 53 | 6857 | $taxon->rank || 'no rank' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
113 | 256 | 0 | 0 | $param{'-source'} || $Bio::DB::Taxonomy::DefaultSource |