Branch Coverage

Bio/PopGen/HtSNP.pm
Criterion Covered Total %
branch 59 72 81.9


line true false branch
350 1 0 if ($haplotype_block) { }
357 1 0 if ($snp_ids) { }
364 1 0 if ($pattern_freq) { }
393 1 2 if @_
410 1 3 if @_
428 1 2 if @_
499 0 7 if (length $input_block->[$h] != $snp_number)
506 0 1 if ($different_haplotype_length)
566 0 7 if (scalar @{$pop_freq->[$pf];} != 2)
579 0 1 if ($frequency > 1)
584 0 1 if ($pop_freq_elements_error)
596 0 1 if ($pf != $number_of_families)
703 1 0 if ($#tmp != $#{$$self{'w_hap'};})
1120 1 0 if (@$rem)
1159 1 0 if (@$rem)
1199 5 10 if ($arr->[0][$i] ne $arr->[$r][$i])
1205 1 5 unless ($different)
1234 7 56 unless ($arr->[$i][$j] =~ /[ACTG-]/)
1235 1 6 if ($#$list < 0) { }
1241 4 6 if $list->[$k] eq $j
1242 4 6 if $found
1244 2 4 unless ($found)
1323 4 3 unless (_is_on_hash($list, \$i))
1330 3 15 if ($comp)
1350 3 2 if (_is_there(\@{$$hash{$key};}, $value))
1362 3 8 if (_is_there(\@{$$hash{$key};}, $value))
1375 16 39 if ($el eq $$value)
1432 0 18 unless @$first == @$second
1434 15 24 if $first->[$i] ne $second->[$i]
1472 12 8 unless _is_there(\@al, \$hap_ref->[$r][$c])
1542 20 14 if ($array->[$i] eq $$value)
1584 2 3 if ($self->{'alleles_number'} < keys %alleles)
1622 3 2 unless (_is_there($set, \$type->[$c]))
1633 3 2 if ($exist)
1680 5 30 if ($snp_ids->[$i] eq $useful_snp->[$j])
1688 3 21 if ($snp_ids->[$i] eq $deg_snp->[$j])