line |
true |
false |
branch |
74
|
4 |
6 |
if (defined $self->{'data_frequency'}{$data}) { } |
93
|
0 |
0 |
unless open $f, '<', $filename |
96
|
0 |
0 |
if ($line =~ /^\s*#/u) |
100
|
0 |
0 |
if (scalar @cols == 1) |
101
|
0 |
0 |
if (defined $self->{'data_frequency'}{$cols[0]}) { } |
108
|
0 |
0 |
if (scalar @cols == 2) |
109
|
0 |
0 |
if (defined $self->{'data_frequency'}{$cols[1]}) { } |
117
|
0 |
0 |
if (scalar @cols != 1 and scalar @cols != 2) |
138
|
0 |
0 |
unless open $f, '<', $filename |
141
|
0 |
0 |
if ($line =~ /^\s*#/u) |
146
|
0 |
0 |
if (scalar @cols == 2) |
147
|
0 |
0 |
if (defined $self->{'data_frequency'}{$cols[0]}) { } |
156
|
0 |
0 |
if (scalar @cols != 2) |
178
|
1 |
0 |
unless (defined $self->{'stats'}{'Desc'}{'min'}) |
180
|
1 |
0 |
if ($count > 0) { } |
195
|
1 |
0 |
unless (defined $self->{'stats'}{'Desc'}{'max'}) |
197
|
1 |
0 |
if ($count > 0) { } |
212
|
1 |
5 |
unless (defined $self->{'stats'}{'Desc'}{'count'}) |
229
|
1 |
1 |
unless (defined $self->{'stats'}{'Desc'}{'mean'}) |
236
|
1 |
0 |
if ($count > 0) { } |
254
|
1 |
0 |
unless (defined $self->{'stats'}{'Desc'}{'median'}) |
257
|
0 |
1 |
if ($count % 2 != 0) |
267
|
1 |
9 |
if ($current_index == $median_index) |
270
|
1 |
9 |
if ($current_index == $median_index + 1 and $odd == 0) |
297
|
0 |
0 |
if ($cdf->{$v} > $max_probability) |
315
|
1 |
0 |
unless (defined $self->{'stats'}{'Desc'}{'variance'}) |
324
|
1 |
0 |
if ($count > 0) |
338
|
0 |
0 |
unless (defined $self->{'stats'}{'Desc'}{'sdev'}) |
355
|
0 |
0 |
if ($self->count == 0) |
359
|
0 |
0 |
if ($self->{'bin-type'} == 0) { } |
376
|
0 |
0 |
if ($self->count == 0) |
380
|
0 |
0 |
if ($self->{'bin-type'} == 0) { } |
398
|
0 |
0 |
if ($self->count == 0) |
402
|
0 |
0 |
if ($self->{'bin-type'} == 0) { } |
417
|
0 |
0 |
if ($self->count == 0) |
421
|
0 |
0 |
if ($self->{'bin-type'} == 0) { } |
438
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'frequency'}) |
447
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'pmf'}) |
462
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'cdf'}) |
479
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'ccdf'}) |
499
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'binned'}{'frequency'}) |
515
|
0 |
0 |
if ($sorted_vals[$i] < $self->{'bins'}{$sorted_bins[$bi]}{'right'}) { } |
527
|
0 |
0 |
if ($i == $num_vals) |
539
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'binned'}{'pmf'}) |
547
|
0 |
0 |
if ($interval > 0) { } |
561
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'binned'}{'cdf'}) |
576
|
0 |
0 |
unless (defined $self->{'stats'}{'Dist'}{'binned'}{'ccdf'}) |
598
|
0 |
0 |
if ($bin_type != 0 and $bin_type != 1 and $bin_type != 2) |
603
|
0 |
0 |
if ($bin_type == $self->{'bin-type'}) |
616
|
0 |
0 |
if ($self->{'optimal-binning'} == 0) |
628
|
0 |
0 |
if ($self->{'bin-type'} == 0) |
631
|
0 |
0 |
if ($nb < 2) |
635
|
0 |
0 |
if ($self->{'optimal-binning'} == 0 and defined $self->{'num-bins'} and $self->{'num-bins'} == $nb) { } |
652
|
0 |
0 |
if ($self->count == 0) |
657
|
0 |
0 |
unless (defined $self->{'bins'}) |
660
|
0 |
0 |
if ($self->{'bin-type'} == 0) |
674
|
0 |
0 |
if ($self->{'optimal-binning'} == 0) { } |
675
|
0 |
0 |
if ($self->{'bin-type'} == 1) |
678
|
0 |
0 |
if ($self->{'bin-type'} == 2) |
686
|
0 |
0 |
if ($res != 0) |
724
|
0 |
0 |
if ($max_num_bins == 1) |
729
|
0 |
0 |
if ($s_min > 1 or $s_max < 1) |
737
|
0 |
0 |
if ($s_avg < 1) { } |
747
|
0 |
0 |
if (1 - $s_min < $s_max - 1) { } |
772
|
0 |
0 |
if ($self->{'bin-type'} == 1) |
775
|
0 |
0 |
if ($self->{'bin-type'} == 2) |
796
|
0 |
0 |
if ($sorted_support[$s] < $cur_bins->{$ref}{'right'}) { } |
802
|
0 |
0 |
if ($interval > 0) { } |
815
|
0 |
0 |
if ($s == $sup_size) |
817
|
0 |
0 |
if ($interval > 0) { } |
876
|
0 |
0 |
if ($min == 0 or $max == 0 or $min * $max < 0) |