Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
195 7161 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 0 252 ref $db and $db->isa('Bio::DB::Taxonomy')
320 0 0 2 $self->{'db_handle'} and $self->{'db_handle'} ne $db
717 0 0 4752 ref $taxon and $taxon->isa('Bio::Taxon')
720 0 0 4752 &blessed($db) and $db->isa('Bio::DB::Taxonomy')
745 0 0 252 ref $taxon and $taxon->isa('Bio::Taxon')
751 256 2268 248 not $own and $his
758 252 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 19133 1121 $self->{'_names_hash'}{$name_class} || (return)
719 4500 0 $self->db_handle || (return)
727 252 0 $taxon->rank || 'no rank'
730 0 252 $try->rank || 'no rank'
756 252 0 $self->rank || 'no rank'
757 0 252 $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 6910 2 249 $objid || $ncbitaxid
320 250 2 0 not $self->{'db_handle'} or $self->{'db_handle'} and $self->{'db_handle'} ne $db
718 4504 248 0 $self->id or $self->node_name
719 252 4500 0 $db ||= $self->db_handle || (return)
731 0 252 0 $own_rank eq 'no rank' or $try_rank eq 'no rank'
252 0 0 $own_rank eq 'no rank' or $try_rank eq 'no rank' or $own_rank eq $try_rank