Branch Coverage

Bio/DB/Taxonomy.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
106 258 256 if ($class =~ /Bio::DB::Taxonomy::(\S+)/) { }
118 0 256 unless $class->_load_tax_module($source)
206 0 0 unless (scalar @ids)
212 0 0 if ($tree) { }
295 0 256 if ($@)
330 0 6910 unless ref $taxon and $taxon->isa('Bio::Taxon')
335 6910 0 $try_name ? :
338 1542 846 if (not defined $iid and $try_name and $name and exists $Bio::DB::Taxonomy::TAXON_IIDS->{'names'}{$name})
345 0 1029 if ($test_db eq $dbh and not $test_taxid eq $taxid)
359 5548 1362 if (defined $iid) { }
366 1359 3 if ($name)