line |
true |
false |
branch |
257
|
1 |
19 |
unless eval {
do {
$y->isa('PDLA')
}
} |
258
|
3 |
17 |
unless eval {
do {
$c->isa('PDLA')
}
} |
263
|
2 |
18 |
if $x->dim(0) == 1 and $x->dim(1) == 1 or $y->dim(0) == 1 and $y->dim(1) == 1 |
265
|
1 |
17 |
if ($y->dim(1) != $x->dim(0)) |
637
|
0 |
0 |
if ref $_[$#_] eq 'HASH' |
638
|
0 |
0 |
if $#_ < 1 or $#_ > 2 |
641
|
0 |
0 |
$#_ == 2 ? : |
644
|
0 |
0 |
!(defined $opt && exists $opt->{'Boundary'}) ? : |
753
|
0 |
11 |
if $arr->nelem == 0 |
756
|
11 |
0 |
$srt->nelem > 0 ? : |
759
|
11 |
0 |
if ($uniq->nelem > 0) { } |
762
|
0 |
0 |
$srt->nelem == 0 ? : |
816
|
0 |
2 |
if $arr->nelem == 0 |
824
|
2 |
0 |
if ($srt->nelem > 0) { } |
826
|
1 |
1 |
if $uniqind->isempty |
832
|
2 |
0 |
if ($uniqind->nelem > 0) { } |
891
|
0 |
9 |
if $pdl->nelem == 0 or $pdl->ndims < 2 |
892
|
1 |
8 |
if $pdl->slice('(0)')->nelem < 2 |
899
|
0 |
8 |
if $PDLA::Bad::Status and $pdl->badflag |
923
|
0 |
8 |
if ($PDLA::Bad::Status and $srt->badflag) |
929
|
8 |
0 |
if ($srtdice->nelem > 0) { } |
936
|
1 |
7 |
if ($uniq->nelem > 0) { } |
939
|
7 |
0 |
$srtdice->nelem > 0 ? : |
972
|
0 |
2 |
if ($x->is_inplace) { } |
|
0 |
2 |
elsif ($#_ > 1) { } |
1010
|
0 |
2 |
if ($x->is_inplace) { } |
|
0 |
2 |
elsif ($#_ > 1) { } |
1078
|
0 |
2 |
unless (defined $l or defined $h) |
1080
|
0 |
0 |
if ($x->is_inplace) { } |
1088
|
0 |
2 |
if ($x->is_inplace) { } |
|
0 |
2 |
elsif ($#_ > 2) { } |
1095
|
2 |
0 |
if (defined $l and defined $h) { } |
|
0 |
0 |
elsif (defined $l) { } |
|
0 |
0 |
elsif (defined $h) { } |
1237
|
0 |
9 |
if $#_ > 1 |
1239
|
8 |
1 |
unless defined $weights |
1250
|
4 |
5 |
unless wantarray |
1293
|
0 |
7 |
if $#_ > 1 |
1298
|
1 |
6 |
if (defined $weights) |
1299
|
0 |
1 |
unless UNIVERSAL::isa($weights, 'PDLA') |
1300
|
0 |
1 |
if ($weights->ndims != $data->ndims or (pdl($weights->dims) != pdl($data->dims))->or) |
1565
|
0 |
1 |
ref $_[0] && ref $_[0] ne 'PDLA::Type' ? : |
1568
|
1 |
0 |
scalar @_ ? : |
1669
|
0 |
2 |
if (defined $x and not ref $x) |
1675
|
0 |
2 |
if (not defined $x or $x->nelem == 0) |
1676
|
0 |
0 |
unless @_ |
1677
|
0 |
0 |
if @_ <= 1 |
1682
|
0 |
2 |
if ($dim - $x->dim(0) > 100) |
1692
|
0 |
4 |
unless defined $y and $y->nelem |
1793
|
1 |
8 |
ref $_[0] && ref $_[0] ne 'PDLA::Type' ? : |
1796
|
8 |
1 |
scalar @_ ? : |
1805
|
2 |
0 |
ref $_[0] && ref $_[0] ne 'PDLA::Type' ? : |
1808
|
0 |
2 |
scalar @_ ? : |
1842
|
0 |
2 |
ref $_[0] && ref $_[0] ne 'PDLA::Type' ? : |
1845
|
2 |
0 |
scalar @_ ? : |
1918
|
147 |
2 |
'HASH' eq ref $_[-1] ? : |
1923
|
0 |
149 |
if not defined $opt->{'mode'} and keys %$opt or keys %$opt > 1 |
1928
|
26 |
0 |
$mode eq 'bin_exclusive' ? : |
|
27 |
26 |
$mode eq 'bin_inclusive' ? : |
|
25 |
53 |
$mode eq 'match' ? : |
|
23 |
78 |
$mode eq 'insert_rightmost' ? : |
|
22 |
101 |
$mode eq 'insert_leftmost' ? : |
|
26 |
123 |
$mode eq 'sample' ? : |
2544
|
0 |
1 |
if ($#_ == 0) { } |
2548
|
0 |
1 |
if $err->any |
2551
|
1 |
0 |
if $#_ == -1 |
2656
|
0 |
1 |
if defined $options and ref $options ne 'HASH' |
2659
|
0 |
1 |
defined $options ? : |
2662
|
1 |
0 |
unless (defined $method) |
2663
|
0 |
1 |
$source->type <= zeroes(long(), 1)->type ? : |
2671
|
0 |
1 |
if ($method =~ /^s(am(p(le)?)?)?/i) { } |
|
1 |
0 |
elsif ($method eq 1 or $method =~ /^l(in(ear)?)?/i) { } |
|
0 |
0 |
elsif ($method eq 3 or $method =~ /^c(u(b(e|ic)?)?)?/i) { } |
|
0 |
0 |
elsif ($method =~ /^f(ft|ourier)?/i) { } |
2713
|
0 |
1 |
if ($PDLA::Bad::Status and $source->badflag) |
2769
|
0 |
0 |
unless ref $fftref eq 'ARRAY' |
2770
|
0 |
0 |
if (@$fftref != 2) |
2841
|
0 |
1 |
if $#_ != 1 |
2919
|
167 |
0 |
unless defined $out |
2973
|
1 |
0 |
unless defined $outi |
2974
|
1 |
0 |
unless defined $outni |
2976
|
1 |
0 |
wantarray ? : |
3033
|
0 |
105 |
if $#_ == 0 |
3035
|
104 |
1 |
if ($#_ == 1) { } |
3037
|
9 |
95 |
if $_[0]->getndims > 1 |
3038
|
9 |
95 |
if $_[0]->getndims > 1 |
3041
|
0 |
1 |
if ($_[-1]->getndims > 1) { } |
3106
|
0 |
5 |
if $#_ == 0 |
3127
|
5 |
2 |
if $n > 0 |
3133
|
5 |
0 |
@to_return == 1 ? : |
3202
|
0 |
11 |
unless UNIVERSAL::isa($mask, 'PDLA') |
3205
|
0 |
11 |
if (wantarray) |
3206
|
0 |
0 |
if (not defined $PDLA::whichND) { } |
|
0 |
0 |
elsif ($PDLA::whichND =~ /l/i) { } |
3218
|
2 |
9 |
unless ($mask->nelem) |
3222
|
2 |
7 |
unless ($mask->getndims) |
3223
|
1 |
1 |
$mask ? : |
3227
|
1 |
6 |
if ($ind->nelem == 0) |
3376
|
0 |
5 |
if ($x->ndims > 1 or $y->ndims > 1) |
3388
|
1 |
4 |
if ($op eq 'OR') { } |
|
1 |
3 |
elsif ($op eq 'XOR') { } |
|
3 |
0 |
elsif ($op eq 'AND') { } |
3408
|
1 |
0 |
if $i1->nelem > 0 |
3409
|
1 |
0 |
if $i2->nelem > 0 |
3413
|
1 |
0 |
if ($inds->nelem > 0) { } |