line |
true |
false |
branch |
192
|
0 |
41 |
unless $opt{'base'} > 1 |
199
|
13 |
28 |
if (defined $opt{'linear_thresh'}) { } |
205
|
4 |
37 |
if $opt{'linear_width'} and not $opt{'linear_thresh'} |
207
|
0 |
41 |
unless $opt{'linear_thresh'} >= 0 |
227
|
15 |
26 |
if ($self->{'linear_thresh'}) |
230
|
4 |
11 |
unless $n_linear % 2 |
235
|
10 |
31 |
if ($opt{'data'}) |
338
|
4 |
1 |
$self->count ? : |
442
|
0 |
4 |
unless $self->{'count'} |
462
|
0 |
46 |
unless 0 <= $x and $x <= 100 |
466
|
5 |
41 |
if $need < 1 |
523
|
1 |
0 |
unless defined $upper |
528
|
0 |
1 |
unless $min < $max |
548
|
0 |
2 |
if ($@ and not $@ =~ /division.*zero/) |
565
|
1 |
1 |
unless $self->count |
566
|
0 |
1 |
if $self->min * $self->max < 0 |
569
|
0 |
1 |
if $self->{'data'}{'0'} |
572
|
0 |
1 |
$self->min < 0 ? : |
586
|
2 |
18 |
unless $n > 2 |
606
|
2 |
20 |
unless $n > 3 |
706
|
1 |
2 |
unless $self->count |
709
|
0 |
2 |
unless defined $index |
711
|
1 |
1 |
unless (ref $index) |
712
|
0 |
1 |
unless $index > 2 |
816
|
1 |
287 |
unless $k == 0 + $k and $v == 0 + $v and $v < $INF |
820
|
2 |
17 |
if $@ |
827
|
0 |
286 |
unless $hash->{$_} |
832
|
274 |
12 |
if ($newcount > 0) { } |
872
|
61 |
2 |
unless %opt |
880
|
5 |
8 |
if $_ < $min |
881
|
0 |
8 |
if $_ > $max |
882
|
2 |
6 |
if $data->{$_} < $noize |
923
|
4 |
3 |
if (%opt) |
925
|
2 |
2 |
unless exists $opt{'data'} |
958
|
0 |
1 |
unless $factor > 0 |
985
|
1 |
23 |
unless $weight |
1013
|
122 |
3 |
unless (defined $realmin or defined $realmax) |
1021
|
3 |
20 |
unless defined $realmin |
1022
|
3 |
20 |
unless defined $realmax |
1023
|
0 |
23 |
if $realmin >= $realmax |
1040
|
20 |
264 |
if $val > $right |
1048
|
20 |
3 |
if ($self->{'data'}{$max}) |
1050
|
19 |
1 |
$width ? : |
1056
|
20 |
3 |
if ($self->{'data'}{$min}) |
1058
|
11 |
9 |
$width ? : |
1104
|
1 |
4 |
unless $self->count |
1107
|
3 |
1 |
unless $opt{'index'} |
1108
|
3 |
1 |
if (not @index) { } |
1110
|
0 |
3 |
unless $n > 0 |
1120
|
0 |
1 |
unless @index > 1 |
1131
|
1 |
3 |
if (my $norm = $opt{'normalize_to'}) |
1169
|
1 |
8 |
unless $self->count |
1172
|
3 |
5 |
defined $opt{'min'} ? : |
1173
|
2 |
6 |
defined $opt{'max'} ? : |
1175
|
1 |
7 |
if ($opt{'ltrim'}) |
1177
|
1 |
0 |
if defined $newmin and $newmin > $min |
1179
|
1 |
7 |
if ($opt{'utrim'}) |
1181
|
1 |
0 |
if defined $newmax and $newmax < $max |
1206
|
0 |
242 |
unless ref $orig_code eq 'CODE' |
1212
|
100 |
103 |
unless (exists $_[0]{'cache'}{$name}) |
1220
|
65 |
104 |
unless defined $arg |
1222
|
100 |
69 |
unless (exists $self->{'cache'}{"${name}:$arg"}) |
1226
|
132 |
110 |
!$arg ? : |
1255
|
31 |
74 |
if @_ > 1 |
1260
|
9 |
65 |
unless $i-- |
1265
|
34 |
31 |
if (my $val = $self->{'data'}{$bin}) |
1267
|
30 |
4 |
$width ? : |
1281
|
21 |
125 |
unless @$array and $array->[0] < $x |
1286
|
228 |
175 |
$array->[$m] < $x ? : |
1293
|
4 |
70 |
if defined $array->[$i] and $array->[$i] == $x |
1317
|
1761 |
89124 |
if (abs $x <= $self->{'linear_thresh'}) |
1323
|
40081 |
49043 |
$x < 0 ? : |
1333
|
183 |
699 |
if (abs $x <= $self->{'linear_thresh'}) |
1338
|
310 |
389 |
if ($x > 0) { } |