LCOV - code coverage report
Current view:
top level
-
proxy/src/rate_limiter
- leaky_bucket.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
20b6afc7b7f34578dcaab2b3acdaecfe91cd8bf1.info
Lines:
97.6 %
85
83
Test Date:
2024-11-25 17:48:16
Functions:
66.7 %
18
12
Function Name
Hit count
<proxy::rate_limiter::leaky_bucket::LeakyBucketConfig>::new
1
<proxy::rate_limiter::leaky_bucket::LeakyBucketRateLimiter<_>>::check
4
>::check
0
>::check
1
>>::check
3
<proxy::rate_limiter::leaky_bucket::LeakyBucketRateLimiter<_>>::check::{closure#0}
4
>::check::{closure#0}
0
>::check::{closure#0}
1
>>::check::{closure#0}
3
<proxy::rate_limiter::leaky_bucket::LeakyBucketRateLimiter<_>>::do_gc
4
>::do_gc
0
>::do_gc
1
>>::do_gc
3
<proxy::rate_limiter::leaky_bucket::LeakyBucketRateLimiter<_>>::do_gc::{closure#0}
0
>::do_gc::{closure#0}
0
>::do_gc::{closure#0}
0
>>::do_gc::{closure#0}
0
<proxy::rate_limiter::leaky_bucket::LeakyBucketRateLimiter<ipnet::ipnet::IpNet>>::new_with_shards
5
>::new_with_shards
2
>>::new_with_shards
3
<utils::leaky_bucket::LeakyBucketConfig as core::convert::From<proxy::rate_limiter::leaky_bucket::LeakyBucketConfig>>::from
6
proxy::rate_limiter::leaky_bucket::tests::check
2
proxy::rate_limiter::leaky_bucket::tests::check
1
proxy::rate_limiter::leaky_bucket::tests::check::{closure#0}
1
Generated by:
LCOV version 2.1-beta