| blib/lib/Algorithm/LossyCount.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 16 | 68.7 |
| line | true | false | branch |
|---|---|---|---|
| 17 | 0 | 1 | if (%params) |
| 24 | 0 | 1 | if $max_error_ratio <= 0 |
| 41 | 0 | 14715 | unless defined $sample |
| 43 | 8963 | 5752 | if (defined(my $entry = $self->entries->{$sample})) { } |
| 54 | 73 | 14642 | if $self->bucket_is_full |
| 70 | 5632 | 4356 | unless ($entry->survive_in_bucket($self->current_bucket)) |
| 86 | 0 | 1 | if (%params) |
| 96 | 0 | 120 | $frequency < $threshold ? : |