Condition Coverage

blib/lib/Bio/Phylo/Matrices/MatrixRole.pm
Criterion Covered Total %
condition 13 120 10.8


and 3 conditions

line !l l&&!r l&&r condition
152 0 0 0 $disname and $name
0 0 0 $length_measure and not $enum{$length_measure}
259 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
0 0 0 @_ == 1 and ref $_[0] eq 'HASH' and (%args) = %{$_[0];}
262 0 0 0 defined $args{'-missing'} and defined $args{'-gap'}
0 0 0 defined $args{'-missing'} and defined $args{'-gap'} and defined $args{'-matchchar'}
337 0 0 0 defined $charlabels and not &looks_like_instance($charlabels, 'ARRAY')
588 1 22 35 @states and @states == 1
653 0 0 0 $previous and $previous eq $gap
957 0 0 0 $sorted[$j] and $seen{$sorted[$j]} == $max
1162 0 0 0 $state ne $m and $state ne $g
1599 0 1 0 $taxon2 and $taxon1->get_id == $taxon2->get_id
1982 0 0 0 @charlabels and @statelabels
2023 0 0 0 $args{'-seqnames'} =~ /^taxon/i and $datum->get_taxon
2071 0 0 0 &looks_like_instance($dom, 'SCALAR') and $dom->_type == 18

or 2 conditions

line l !l condition
152 0 0 $self->get_generic('displaynames') || {}
0 0 $matchlinechar || '*'
0 0 $weak || '.'
0 0 $strong || ':'
0 0 $length_measure ||= 'align'
191 0 0 $seqs[0]->alphabet || $seqs[0]->_guess_alphabet || 'dna'
199 0 0 $aln->missing_char || '?'
0 0 $aln->match_char || '.'
0 0 $aln->gap_char || '-'
276 0 0 $self->get_missing || '?'
0 0 $self->get_gap || '-'
0 0 $self->get_matchchar || '.'
480 0 639 $row->get_position || 1
720 1 0 $self->get_nchar || 1
1115 3 1 $seen{$missing} || 0
1197 0 0 shift() || sub { int rand shift(); }
1236 0 0 $_[2] || sub { int rand shift(); }
1374 0 0 $models{$m} || 'GTR'

or 3 conditions

line l !l&&r !l&&!r condition
152 0 0 0 $refchar eq '-' || $refchar eq '.' || $refchar eq ' '
0 0 0 $seq->[$pos] eq '-' or $seq->[$pos] eq '.'
0 0 0 $seq->[$pos] eq '-' or $seq->[$pos] eq '.' or $seq->[$pos] eq ' '
0 0 0 $i < $start - 1 or $i > $end - 1
259 0 0 0 @_ == 1 and ref $_[0] eq 'HASH' and (%args) = %{$_[0];} or (%args) = &looks_like_hash(@_)
301 0 0 0 $new_special_symbols{$dummy} or $old_special_symbols{$dummy}
0 0 0 $new_special_symbols{$dummy} or $old_special_symbols{$dummy} or $dummies{$dummy}
1232 0 0 0 not &looks_like_number($prop) or $prop >= 1
0 0 0 not &looks_like_number($prop) or $prop >= 1 or $prop < 0
1439 0 0 0 $model->get_pinvar || scalar(@invariant) / $self->get_nchar
1583 1 0 119 $@ or $obj_container != $self->_type
1591 24 95 0 $self->get_name || $self->get_internal_name
1930 0 0 1 $args{'-gapmode'} or $args{'-polymorphism'}