blib/lib/Algorithm/HyperLogLog/PP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
26 | 2 | 110 | if ($k < 4 or $k > 16) |
33 | 1 | 109 | if ($m == 16) { } |
3 | 106 | elsif ($m == 32) { } | |
0 | 106 | elsif ($m == 64) { } | |
79 | 295197 | 304807 | if ($rank > $self->{'registers'}[$index]) |
97 | 204 | 1 | if ($estimate <= 2.5 * $m) { } |
0 | 1 | elsif ($estimate > 143165576.53333333) { } | |
100 | 9917587 | 3320749 | if ($self->{'registers'}[$i] == 0) |
105 | 204 | 0 | if ($v != 0) |
119 | 0 | 1 | if $self->{'m'} != $other->{'m'} |
122 | 26799 | 38737 | if ($self->{'registers'}[$i] < $other->{'registers'}[$i]) |