Branch Coverage

/root/.cpan/build/PDL-CCS-1.23.11-0/blib/lib/PDL/CCS/Compat.pm
Criterion Covered Total %
branch 38 60 63.3


line true false branch
165 0 11 unless defined $N
166 4 7 unless defined $M
170 4 7 if (defined $ptr) { }
173 4 7 if (defined $rowids) { }
176 4 7 if (defined $nzvals) { }
309 1 1 defined $_[0] && (!ref($_[0]) || $_[0]->nelem == 1) ? :
351 0 2 defined $_[0] && (!ref($_[0]) || $_[0]->nelem == 1) ? :
402 5 2 unless defined $coli
403 1 6 unless ref $coli
407 3 4 unless defined $M
410 2 5 if (not defined $cols) { }
447 4 0 unless (defined $dense)
449 0 4 if (ref $M and UNIVERSAL::isa($M, 'PDL') and $M->dim(0) == $ptr->dim(0)) { }
452 4 0 unless defined $M
485 0 0 unless (defined $dense)
487 0 0 if (ref $M and UNIVERSAL::isa($M, 'PDL') and $M->dim(0) == $ptr->dim(0)) { }
490 0 0 unless defined $M
625 2 1 unless defined $which_rows
627 1 2 wantarray ? :
651 1 0 unless defined $which
652 1 0 unless defined $wcols
678 0 1 defined $ptrT ? :
724 2 0 unless defined $ixnzvals
725 2 0 unless (all($nzi_isgood))
729 1 1 if 'PDL'->topdl($missing)->badflag
765 2 0 unless defined $ixnzvals
766 2 0 unless (all($nzi_isgood))
770 1 1 if 'PDL'->topdl($missing)->badflag
888 0 0 unless defined $M
889 0 0 unless defined $rowvals