Bio/DB/Taxonomy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 24 | 62.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
330 | 0 | 0 | 6873 | ref $taxon and $taxon->isa('Bio::Taxon') |
338 | 4495 | 0 | 2378 | not defined $iid and $try_name |
4495 | 2 | 2376 | not defined $iid and $try_name and $name | |
2 | 2376 | 0 | not defined $iid and $try_name and $name and exists $Bio::DB::Taxonomy::TAXON_IIDS->{'names'}{$name} | |
345 | 1028 | 0 | 0 | $test_db eq $dbh and not $test_taxid eq $taxid |
line | l | !l | condition |
---|---|---|---|
332 | 6873 | 0 | $taxon->id || (return) |
333 | 6869 | 4 | $taxon->scientific_name || '' |
334 | 53 | 6820 | $taxon->rank || 'no rank' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
113 | 254 | 0 | 0 | $param{'-source'} || $Bio::DB::Taxonomy::DefaultSource |