line |
true |
false |
branch |
8
|
19 |
13 |
$_[0] < 0 ? : |
17
|
1 |
1 |
$_[0] < 0 ? : |
|
2 |
2 |
$_[0] > 0 ? : |
73
|
0 |
26 |
if (len($array) < 2) |
78
|
18 |
8 |
if (not defined $mean or $mean eq '') |
93
|
0 |
9 |
if (len($array1) != len($array2)) |
113
|
3 |
7 |
if ($method eq 'spearman') { } |
131
|
0 |
7 |
if (len($vector1) != len($vector2)) |
136
|
3 |
4 |
if ($method eq 'euclidean') { } |
|
1 |
3 |
elsif ($method eq 'pearson') { } |
|
2 |
1 |
elsif ($method eq 'spearman') { } |
|
1 |
0 |
elsif ($method eq 'logical') { } |
146
|
4 |
3 |
if $_[0] |
185
|
1 |
5 |
if ($type eq 'percentage') { } |
|
1 |
4 |
elsif ($type eq 'sphere') { } |
220
|
0 |
6 |
if (not $replace and len($array) < $size) |
224
|
0 |
6 |
if (len($array) != len($p)) |
231
|
3 |
3 |
if ($replace) { } |
274
|
3 |
41 |
if ($r < $$p[0]) |
278
|
35 |
97 |
if ($r >= $$p[$k] and $r < $$p[$k + 1]) |
296
|
3 |
2 |
defined $mean && $mean ne '' ? : |
297
|
2 |
3 |
defined $sd && $sd ne '' ? : |
326
|
2 |
2 |
defined $p && $p ne '' ? : |
329
|
12 |
28 |
rand() < $p ? : |
342
|
22 |
480 |
$max > $_ ? : |
356
|
103 |
180 |
$min < $_ ? : |
371
|
18 |
0 |
if ($$array[$_] > $max) |
388
|
3 |
9 |
if ($$array[$_] < $min) |
406
|
1 |
2 |
if (len($sort) % 2 == 1) { } |
423
|
32 |
3 |
defined $p ? : |
426
|
8 |
27 |
if (is_array_ref($p)) { } |
430
|
0 |
27 |
if ($p > 1 or $p < 0) |
434
|
3 |
24 |
if ($p == 1) |
437
|
3 |
21 |
if ($p == 0) |
443
|
7 |
14 |
if (&abs(int($p * ($n - 1)) - $p * ($n - 1)) < 1e-08) { } |