Branch Coverage

blib/lib/Statistics/Cluto.pm
Criterion Covered Total %
branch 2 60 3.3


line true false branch
163 1 1 if $constname eq 'constant'
165 0 0 if ($error)
244 0 0 if $nrows != $#$rowval + 1
259 0 0 if $col > $ncols
275 0 0 if ($$rowptr[-1] != $#$rowind + 1 or $#$rowptr != $nrows)
292 0 0 if $nrows != $#$rowval + 1
302 0 0 if $#$row + 1 != $$self{'ncols'}
312 0 0 if $nrows != $#$matrix + 1
315 0 0 if $#{$$matrix[$row_n];} + 1 != $ncols
319 0 0 if ($val)
338 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
356 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
374 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
398 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
423 0 0 if $$self{'nrows'} != $$self{'ncols'}
440 0 0 if $$self{'nrows'} != $$self{'ncols'}
457 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
476 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
517 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
538 0 0 if $$self{'nrows'} != $$self{'ncols'}
557 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
592 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
606 0 0 if $$self{'nrows'} != $$self{'ncols'}
639 0 0 if $$self{'nrows'} != $$self{'ncols'}
677 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
700 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
702 0 0 if $#{$$self{'ptree'};} + 1 != $$self{'nclusters'} * 2
721 0 0 $$self{'simfun'} == CLUTO_SIM_CORRCOEF() ? :
724 0 0 if $#{$$self{'ptree'};} + 1 != $$self{'nclusters'} * 2
752 0 0 if $$self{'part'}[$i] >= 0