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
153 0 0 0 $disname and $name
0 0 0 $length_measure and not $enum{$length_measure}
260 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
0 0 0 @_ == 1 and ref $_[0] eq 'HASH' and (%args) = %{$_[0];}
263 0 0 0 defined $args{'-missing'} and defined $args{'-gap'}
0 0 0 defined $args{'-missing'} and defined $args{'-gap'} and defined $args{'-matchchar'}
338 0 0 0 defined $charlabels and not &looks_like_instance($charlabels, 'ARRAY')
589 1 22 35 @states and @states == 1
654 0 0 0 $previous and $previous eq $gap
958 0 0 0 $sorted[$j] and $seen{$sorted[$j]} == $max
1163 0 0 0 $state ne $m and $state ne $g
1600 0 1 0 $taxon2 and $taxon1->get_id == $taxon2->get_id
1983 0 0 0 @charlabels and @statelabels
2024 0 0 0 $args{'-seqnames'} =~ /^taxon/i and $datum->get_taxon
2072 0 0 0 &looks_like_instance($dom, 'SCALAR') and $dom->_type == 18

or 2 conditions

line l !l condition
153 0 0 $self->get_generic('displaynames') || {}
0 0 $matchlinechar || '*'
0 0 $weak || '.'
0 0 $strong || ':'
0 0 $length_measure ||= 'align'
192 0 0 $seqs[0]->alphabet || $seqs[0]->_guess_alphabet || 'dna'
200 0 0 $aln->missing_char || '?'
0 0 $aln->match_char || '.'
0 0 $aln->gap_char || '-'
277 0 0 $self->get_missing || '?'
0 0 $self->get_gap || '-'
0 0 $self->get_matchchar || '.'
481 0 639 $row->get_position || 1
721 1 0 $self->get_nchar || 1
1116 3 1 $seen{$missing} || 0
1198 0 0 shift() || sub { int rand shift(); }
1237 0 0 $_[2] || sub { int rand shift(); }
1375 0 0 $models{$m} || 'GTR'

or 3 conditions

line l !l&&r !l&&!r condition
153 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
260 0 0 0 @_ == 1 and ref $_[0] eq 'HASH' and (%args) = %{$_[0];} or (%args) = &looks_like_hash(@_)
302 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}
1233 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
1440 0 0 0 $model->get_pinvar || scalar(@invariant) / $self->get_nchar
1584 1 0 119 $@ or $obj_container != $self->_type
1592 24 95 0 $self->get_name || $self->get_internal_name
1931 0 0 1 $args{'-gapmode'} or $args{'-polymorphism'}