Branch Coverage

blib/lib/PDLA/Slices.pm
Criterion Covered Total %
branch 35 46 76.0


line true false branch
452 5 11 ref $ind && UNIVERSAL::isa($ind, 'PDLA') && $ind->type eq 'indx' ? :
453 5 11 defined $sz ? :
457 4 12 if ($index->isempty)
460 0 4 if defined $size
465 0 12 unless $index->ndims
469 5 7 if (defined $bound)
470 1 4 if (ref $bound eq 'ARRAY') { }
1 6 elsif (not $bound =~ /^[0123ftepx]+$/ and $bound =~ /^([0123ftepx])/i) { }
473 0 2 unless $el =~ /^([0123fFtTeEpPmM])/
812 0 4 if ($#_ == 2) { }
883 2 3 @_ == 2 ? :
885 3 2 $c->ndims < 2 ? :
1056 0 4 if ($pdl->getndims < scalar @newDimOrder)
1065 0 12 if ($dim < 0 or $dim > $#newDimOrder)
1264 0 0 if &blessed($ind[0]) and $ind[0]->isa('PDLA')
1630 0 28 if $no_indexes > $noDims
1639 29 3 unless not ref $index and $index eq 'X'
1702 4 26 ref $idx eq 'ARRAY' ? :
1705 0 30 if $x > 1
1895 5 1075 if (&blessed($others[$i]) and $others[$i]->isa('PDLA'))
1897 0 5 if ($idx->ndims > 1)
1902 3 2 if ($nlm > 1) { }
1 1 elsif ($nlm) { }