Condition Coverage

Bio/PopGen/IO/phase.pm
Criterion Covered Total %
condition 14 33 42.4


and 3 conditions

line !l l&&!r l&&r condition
192 12 0 1 not $self->{'_count'} and /^\s*\d+$/
11 0 1 $self->{'_count'} == 1 and /^\s*\d+$/
10 0 1 $self->{'_count'} == 2 and /^\s*P\s\d/
9 0 1 $self->{'_count'} == 3 and /^\s*(M|S)+\s*$/i
322 0 0 4 ref $ind and $ind->isa('Bio::PopGen::IndividualI')
334 0 0 1 $self->flag('no_header') and not $self->flag('header_written')
376 0 0 1 ref $pop and $pop->isa('Bio::PopGen::PopulationI')
385 0 0 1 $self->flag('no_header') and not $self->flag('header_written')

or 3 conditions

line l !l&&r !l&&!r condition
182 0 0 13 /^\s+$/ or not length $_
187 13 0 0 $self->flag('no_header') or defined $self->{'_header'}
249 0 0 0 $self->{'_header'}[$i] || "$i"