blib/lib/Cuckoo/Filter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 9 | 55.5 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 0 | 2 | 0 | $self->{'digest'} //= 'Digest'->new('SHA-1') |
22 | 1 | 1 | 0 | $self->{'buckets'} //= do { my(@buckets) = (); $#buckets = $self->{'bucket_size'}; $self->{'item_count'} = 0; \@buckets } |
60 | 3 | 0 | 6 | defined $self->{'buckets'}[$idx1] || $self->{'buckets'}[$idx2] |