Condition Coverage

Bio/Species.pm
Criterion Covered Total %
condition 29 48 60.4


and 3 conditions

line !l l&&!r l&&r condition
142 235 0 16 defined $classification and ref $classification eq 'ARRAY'
235 0 16 defined $classification and ref $classification eq 'ARRAY' and @{$classification;}
191 42 210 0 $name and not $name =~ /$species/i || $name =~ /$genus/i
252 0 0 $name and not $name =~ /$species/i || $name =~ /$genus/i and not $name =~ /$genus $species/i
304 18 0 43 @spflds > 1 and $root->node_name ne 'Viruses'
339 0 172 0 $genus and $genus =~ /$_/i
350 2 41 0 not $unconv || $sub_species and $species =~ s/^(\w+)\s(\w+)$/$1/
506 105 0 3 defined $full and $full =~ /full/i

or 2 conditions

line l !l condition
186 251 1 $vals[1] ||= ''
223 2863 1 $node->scientific_name || (next)
494 108 0 $self->taxon->rank || 'no rank'

or 3 conditions

line l !l&&r !l&&!r condition
191 210 0 0 $name =~ /$species/i || $name =~ /$genus/i
350 0 2 41 $unconv || $sub_species
623 251 0 1733 not $self->{'taxon'} or $taxon
624 251 0 0 $taxon ||= 'Bio::Taxon'->new
643 251 236 743 not $self->{'tree'} or $tree
644 487 0 0 $tree ||= 'Bio::Tree::Tree'->new