Condition Coverage

Bio/Species.pm
Criterion Covered Total %
condition 27 48 56.2


and 3 conditions

line !l l&&!r l&&r condition
142 235 0 14 defined $classification and ref $classification eq 'ARRAY'
235 0 14 defined $classification and ref $classification eq 'ARRAY' and @{$classification;}
191 40 210 0 $name and not $name =~ /$species/i || $name =~ /$genus/i
250 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 250 0 $vals[1] ||= ''
223 2851 0 $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 249 0 1727 not $self->{'taxon'} or $taxon
624 249 0 0 $taxon ||= 'Bio::Taxon'->new
643 249 236 739 not $self->{'tree'} or $tree
644 485 0 0 $tree ||= 'Bio::Tree::Tree'->new