Branch Coverage

blib/lib/PDLA/Stats/Kmeans.pm
Criterion Covered Total %
branch 28 44 63.6


line true false branch
321 0 0 if $self->ndims > 1
337 0 3 if $_->dim(0) != 2
477 1 4 if (defined $opt{'CNTRD'} and $opt{'CNTRD'}->nelem) { }
487 2 3 $self->badflag ? :
488 2 3 $self->badflag ? :
490 0 5 if $opt{'V'}
495 2 3 ref $opt{'NCLUS'} eq 'ARRAY' ? :
500 1 4 defined $opt{'CNTRD'} && $opt{'CNTRD'}->nelem ? :
509 3 5 $self->badflag ? :
512 0 8 if $opt{'V'}
523 0 5 if $opt{'FULL'}
533 2 3 if $R2->getndims == 1
618 3 10 if (ref $var_ref eq 'PDLA')
620 0 3 if $var_ref->getndims > 1
633 1 12 if ($var->badflag)
639 0 13 wantarray ? :
687 0 1 unless ($opt{'NCOMP'})
689 0 0 $self->dim(1) > 300 ? :
695 0 1 if ($opt{'PLOT'})
702 1 0 if ($opt{'ABS'}) { }
706 0 0 $self->slice($_, $c->slice($_)) >= 0 ? :
710 0 1 if $opt{'V'}