LCOV - code coverage report
Current view:
top level
-
libs/utils/src
- leaky_bucket.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
f8d8f5b90fa487a9e82c42da223f012f5d4fece7.info
Lines:
81.0 %
153
124
Test Date:
2024-09-19 20:36:02
Functions:
63.6 %
11
7
Function Name
Hit count
<utils::leaky_bucket::LeakyBucketConfig>::new
598
<utils::leaky_bucket::LeakyBucketState>::add_tokens
16219
<utils::leaky_bucket::LeakyBucketState>::bucket_is_empty
2
<utils::leaky_bucket::LeakyBucketState>::with_initial_tokens
594
<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
594
<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