Condition Coverage

blib/lib/Statistics/Descriptive/LogScale.pm
Criterion Covered Total %
condition 48 65 73.8


and 3 conditions

line !l l&&!r l&&r condition
205 28 9 4 $opt{'linear_width'} and not $opt{'linear_thresh'}
462 0 0 46 0 <= $x and $x <= 100
548 1 1 0 $@ and not $@ =~ /division.*zero/
816 0 0 289 $k == 0 + $k and $v == 0 + $v
0 1 287 $k == 0 + $k and $v == 0 + $v and $v < $INF
927 18 2 0 exists $opt{$_} and $raw->{$_} = $opt{$_}
1134 1 3 0 $max < $_->[0] and $max = $_->[0]
1177 0 0 1 defined $newmin and $newmin > $min
1181 0 0 1 defined $newmax and $newmax < $max
1281 1 20 125 @$array and $array->[0] < $x
1293 11 59 4 defined $array->[$i] and $array->[$i] == $x
1319 1537 18 206 $self->{'linear_width'} && $self->{'linear_width'} * floor($x / $self->{'linear_width'} + 0.5)
1335 62 0 121 $self->{'linear_width'} && $self->{'linear_width'} * (floor($x / $self->{'linear_width'} + 0.5) - 0.5)

or 2 conditions

line l !l condition
190 29 12 $opt{'base'} ||= 1.0099743512671
206 15 26 $opt{'linear_thresh'} ||= 0
522 1 0 $lower ||= 0
831 200 86 $self->{'data'}{$key} || 0
838 10 2 delete $self->{'data'}{$key} || 0
875 1 1 $opt{'noize_thresh'} || 0
1353 158 31 $self->{'cache'}{'sorted'} ||= [(sort {$a <=> $b;} keys %{$$self{'data'};})]

or 3 conditions

line l !l&&r !l&&!r condition
200 8 1 4 $opt{'linear_width'} ||= $opt{'linear_thresh'} * ($opt{'base'} - 1)
228 13 2 0 $opt{'linear_width'} || 2 * $self->{'linear_thresh'}
1013 20 0 125 defined $realmin or defined $realmax
1359 87 19 0 $self->{'cache'}{'probability'} ||= do { my @array; my $sum = 0; foreach $_ (@{$self->_sort;}) { $sum += $self->{'data'}{$_}; push @array, $sum; } ; \@array }