Branch Coverage

Bio/PopGen/IO/prettybase.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
121 0 5 defined $header ? :
122 0 5 defined $fieldsep ? :
146 0 124 unless defined $fieldname
148 15 109 if @_
166 3 39 unless ($self->{'_parsed'})
195 0 2 unless @inds
205 4 106 if /^\s*\#/ or /^\s+$/ or not length $_
208 0 106 unless (defined $sample)
215 0 182 if ($convert_indels)
216 0 0 if (length $allele > 1) { }
0 0 elsif ($allele eq '-') { }
231 39 67 unless (defined $inds{$sample})
255 0 22 unless (ref $ind and $ind->isa('Bio::PopGen::IndividualI'))
261 0 440 unless defined $g
285 0 2 unless (ref $pop and $pop->isa('Bio::PopGen::PopulationI'))
291 0 17 unless (ref $ind and $ind->isa('Bio::PopGen::IndividualI'))
297 0 340 unless defined $g