LCOV - code coverage report
Current view:
top level
-
libs/utils/src
- leaky_bucket.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
20b6afc7b7f34578dcaab2b3acdaecfe91cd8bf1.info
Lines:
76.7 %
163
125
Test Date:
2024-11-25 17:48:16
Functions:
58.3 %
12
7
Function Name
Hit count
<<utils::leaky_bucket::RateLimiter>::acquire::{closure#0}::Increment as core::ops::drop::Drop>::drop
0
<utils::leaky_bucket::LeakyBucketConfig>::new
198
<utils::leaky_bucket::LeakyBucketState>::add_tokens
16220
<utils::leaky_bucket::LeakyBucketState>::bucket_is_empty
2
<utils::leaky_bucket::LeakyBucketState>::with_initial_tokens
192
<utils::leaky_bucket::RateLimiter>::acquire
0
::acquire
0
::acquire::{closure#0}
0
<utils::leaky_bucket::RateLimiter>::steady_rps
0
<utils::leaky_bucket::RateLimiter>::with_initial_tokens
192
<utils::leaky_bucket::Requeue as core::ops::drop::Drop>::drop
0
utils::leaky_bucket::tests::check
2
utils::leaky_bucket::tests::check
1
utils::leaky_bucket::tests::check::{closure#0}
1
Generated by:
LCOV version 2.1-beta