Condition Coverage

Bio/Taxon.pm
Criterion Covered Total %
condition 29 62 46.7


and 3 conditions

line !l l&&!r l&&r condition
195 7122 0 0 defined $id and defined $ncbitaxid && $ncbitaxid ne $id || defined $objid && $objid ne $id
209 0 0 0 $commonnames and ref $commonnames eq 'ARRAY'
317 0 250 0 ref $db and $db->isa('Bio::DB::Taxonomy')
320 0 0 2 $self->{'db_handle'} and $self->{'db_handle'} ne $db
717 0 0 4726 ref $taxon and $taxon->isa('Bio::Taxon')
720 0 4726 0 &blessed($db) and $db->isa('Bio::DB::Taxonomy')
745 0 0 250 ref $taxon and $taxon->isa('Bio::Taxon')
751 254 2250 246 not $own and $his
758 250 0 0 $own eq 'no rank' and $his ne 'no rank'

or 2 conditions

line l !l condition
415 2 0 $self->ancestor || (return)
648 19032 1110 $self->{'_names_hash'}{$name_class} || (return)
719 4476 0 $self->db_handle || (return)
727 250 0 $taxon->rank || 'no rank'
730 0 250 $try->rank || 'no rank'
756 250 0 $self->rank || 'no rank'
757 0 250 $taxon->rank || 'no rank'

or 3 conditions

line l !l&&r !l&&!r condition
195 0 0 0 defined $ncbitaxid && $ncbitaxid ne $id || defined $objid && $objid ne $id
199 6873 2 247 $objid || $ncbitaxid
320 248 0 2 not $self->{'db_handle'} or $self->{'db_handle'} and $self->{'db_handle'} ne $db
718 4480 246 0 $self->id or $self->node_name
719 250 4476 0 $db ||= $self->db_handle || (return)
731 0 250 0 $own_rank eq 'no rank' or $try_rank eq 'no rank'
250 0 0 $own_rank eq 'no rank' or $try_rank eq 'no rank' or $own_rank eq $try_rank