line |
true |
false |
branch |
100
|
0 |
0 |
unless ($self->count) |
116
|
3 |
36 |
if (ref $_[0] eq 'ARRAY') { } |
126
|
0 |
39 |
unless @{$aref;} |
136
|
4 |
35 |
if ($has_existing_data) { } |
176
|
4 |
35 |
if ($has_existing_data) |
190
|
0 |
1 |
unless @{$aref_values;} |
211
|
1 |
4 |
if ($self->count < $Statistics::Descriptive::Min_samples_number) |
219
|
1 |
3 |
unless (defined $self->{'_outlier_filter'}) |
229
|
1 |
2 |
unless $is_outlier |
244
|
2 |
4 |
if (not $code_ref or ref $code_ref ne "CODE") |
264
|
3 |
18 |
if ($max_std_deviation < abs $curr_value - $mean) |
287
|
1 |
1 |
unless (defined $self->{'_smoother'}) |
299
|
1 |
3 |
unless $self->count |
302
|
1 |
2 |
if ($self->presorted) { } |
321
|
1 |
3 |
unless $self->count |
327
|
1 |
2 |
if ($self->presorted) { } |
346
|
12 |
16 |
unless ($self->presorted) |
371
|
2 |
2 |
if (not $count or $percentile < 100 / $count) |
381
|
0 |
2 |
wantarray ? : |
391
|
4 |
3 |
if ($count % 2) { } |
410
|
2 |
15 |
unless $self->count |
413
|
7 |
8 |
unless (defined $self->_median) |
425
|
0 |
18 |
unless (defined $QuantileNumber and $QuantileNumber =~ /^0|1|2|3|4$/) |
432
|
1 |
17 |
unless $self->count |
436
|
3 |
14 |
if $QuantileNumber == 0 |
440
|
3 |
11 |
if $QuantileNumber == 4 |
448
|
4 |
7 |
if $F_quantile == 0 |
488
|
2 |
2 |
if (@_ == 1) { } |
498
|
1 |
3 |
unless $self->count |
503
|
2 |
1 |
unless (exists $cache->{$thistm}) |
528
|
1 |
10 |
if ($self->_test_for_too_small_val($item)) |
536
|
3 |
1 |
if ($self->_test_for_too_small_val($hs)) |
548
|
5 |
0 |
unless (defined $self->_harmonic_mean) |
560
|
3 |
2 |
unless (defined $self->_mode) |
570
|
4 |
7 |
if ($count > $occurances) |
578
|
1 |
2 |
$occurances > 1 ? : |
586
|
2 |
3 |
$m->{'exists'} ? : |
593
|
1 |
1 |
unless $self->count |
595
|
1 |
0 |
unless (defined $self->_geometric_mean) |
602
|
0 |
3 |
if ($val < 0) |
619
|
7 |
0 |
unless (defined $self->_skewness) |
627
|
5 |
2 |
if ($sd and $n > 2) |
653
|
7 |
0 |
unless (defined $self->_kurtosis) |
660
|
5 |
2 |
if ($sd and $n > 3) |
691
|
1 |
5 |
if ($self->count < 2) |
696
|
1 |
4 |
if (not @_ and defined $self->_frequency) |
704
|
2 |
2 |
if (ref $partitions eq 'ARRAY') { } |
707
|
0 |
2 |
unless @k |
708
|
2 |
0 |
if (@k > 1) |
714
|
0 |
8 |
if ($element > $next_elem) |
727
|
0 |
2 |
unless $partitions >= 1 |
744
|
129 |
1005 |
if ($element <= $limit) |
761
|
1 |
4 |
if (not defined $ret) { } |
774
|
2 |
1 |
if $self->count < 2 |
789
|
1 |
0 |
if (not defined $_[1]) { } |
796
|
0 |
0 |
if ($self->count != scalar @x) |
813
|
0 |
1 |
unless abs $denom > $Statistics::Descriptive::Tolerance |
822
|
0 |
1 |
unless abs $denom > $Statistics::Descriptive::Tolerance |
846
|
1 |
0 |
unless (defined $self->_median_absolute_deviation) |