Branch Coverage

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


line true false branch
141 7 0 if (&looks_like_instance($statelabels, 'ARRAY')) { }
0 0 elsif (defined $statelabels and not &looks_like_instance($statelabels, 'ARRAY')) { }
143 0 2 unless (&looks_like_instance($col, 'ARRAY'))
179 44 0 if (&looks_like_object($characters, 24))
219 0 6 if ($match) { }
222 0 0 if ($match eq $missing) { }
0 0 elsif ($match eq $gap) { }
256 0 6 if (defined $poly) { }
281 0 6 if (defined $case_sensitivity) { }
327 6 1 unless $statelabels{$_[0]->get_id}
395 57 255 if defined $id and exists $_->{$id}