Branch Coverage

blib/lib/Bio/Phylo/Matrices/Matrix.pm
Criterion Covered Total %
branch 10 22 45.4


line true false branch
142 7 0 if (&looks_like_instance($statelabels, 'ARRAY')) { }
0 0 elsif (defined $statelabels and not &looks_like_instance($statelabels, 'ARRAY')) { }
144 0 2 unless (&looks_like_instance($col, 'ARRAY'))
180 44 0 if (&looks_like_object($characters, 24))
220 0 6 if ($match) { }
223 0 0 if ($match eq $missing) { }
0 0 elsif ($match eq $gap) { }
257 0 6 if (defined $poly) { }
282 0 6 if (defined $case_sensitivity) { }
328 6 1 unless $statelabels{$_[0]->get_id}
396 57 255 if defined $id and exists $_->{$id}