blib/lib/IO/Async/Resolver/StupidCache.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 9 | 55.5 |
line | l | !l | condition |
---|---|---|---|
87 | 0 | 2 | $params->{'ttl'} ||= 300 |
88 | 0 | 2 | $params->{'max_size'} ||= 1000 |
146 | 11 | 2 | $self->{'cache'} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 2 | 0 | 0 | $params->{'source'} ||= 'IO::Async::Resolver'->new |