Branch Coverage

Bio/PopGen/IO/csv.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
137 0 5 defined $noheader ? :
138 0 5 defined $fieldsep ? :
139 0 5 defined $all_sep ? :
161 0 766 unless defined $fieldname
163 17 749 if @_
182 1 53 if /^\s*\#/ or /^\s+$/ or not length $_
185 3 53 unless defined $_
186 50 3 if ($self->flag('no_header') or defined $self->{'_header'}) { }
193 50 0 if ($self->flag('field_delimiter') ne $self->flag('allele_delimiter')) { }
216 492 0 if (defined $self->{'_header'}) { }
284 0 22 unless (ref $ind and $ind->isa('Bio::PopGen::IndividualI'))
291 1 21 unless ($self->flag('no_header') or $self->flag('header_written'))
330 0 2 unless (ref $pop and $pop->isa('Bio::PopGen::PopulationI'))
337 1 1 unless ($self->flag('no_header') or $self->flag('header_written'))