LCOV - code coverage report
Current view: top level - proxy/src/rate_limiter - limiter.rs (source / functions) Coverage Total Hit
Test: f5f94ec0366b63fd2cbbe02edc2087dbd893d04d.info Lines: 84.9 % 218 185
Test Date: 2024-11-20 05:34:23 Functions: 77.1 % 48 37

Function Name Sort by function name Hit count Sort by function hit count
<proxy::rate_limiter::limiter::BucketRateLimiter<_, _, _>>::new_with_rand_and_hasher::<_> 5
, proxy::auth::backend::MaskedIp)>>::new_with_rand_and_hasher::<&[proxy::rate_limiter::limiter::RateBucketInfo; 3]> 3
, proxy::auth::backend::MaskedIp)>>::new_with_rand_and_hasher::> 0
>::new_with_rand_and_hasher::<_> 0
>>::new_with_rand_and_hasher::<&[proxy::rate_limiter::limiter::RateBucketInfo; 3]> 1
>>::new_with_rand_and_hasher::> 1
<proxy::rate_limiter::limiter::BucketRateLimiter<_>>::new::<_> 4
, proxy::auth::backend::MaskedIp)>>::new::<&[proxy::rate_limiter::limiter::RateBucketInfo; 3]> 3
, proxy::auth::backend::MaskedIp)>>::new::> 0
>::new::<_> 0
>>::new::> 1
<proxy::rate_limiter::limiter::BucketRateLimiter<proxy::intern::InternedString<proxy::intern::EndpointIdTag>>>::check 1000457
, proxy::auth::backend::MaskedIp)>>::check 3
>>::check 1000000
>>::check 454
<proxy::rate_limiter::limiter::BucketRateLimiter<proxy::intern::InternedString<proxy::intern::EndpointIdTag>>>::check::{closure#0} 1000004
, proxy::auth::backend::MaskedIp)>>::check::{closure#0} 3
>>::check::{closure#0} 1000000
>>::check::{closure#0} 1
<proxy::rate_limiter::limiter::BucketRateLimiter<proxy::intern::InternedString<proxy::intern::EndpointIdTag>>>::check::{closure#1} 3000915
, proxy::auth::backend::MaskedIp)>>::check::{closure#1} 9
>>::check::{closure#1} 3000000
>>::check::{closure#1} 906
<proxy::rate_limiter::limiter::BucketRateLimiter<proxy::intern::InternedString<proxy::intern::EndpointIdTag>>>::check::{closure#2} 3000909
, proxy::auth::backend::MaskedIp)>>::check::{closure#2} 9
>>::check::{closure#2} 3000000
>>::check::{closure#2} 900
<proxy::rate_limiter::limiter::BucketRateLimiter<proxy::intern::InternedString<proxy::intern::EndpointIdTag>>>::do_gc 488
, proxy::auth::backend::MaskedIp)>>::do_gc 0
>>::do_gc 488
>>::do_gc 0
<proxy::rate_limiter::limiter::GlobalRateLimiter>::check 0
<proxy::rate_limiter::limiter::GlobalRateLimiter>::check::{closure#0} 0
<proxy::rate_limiter::limiter::GlobalRateLimiter>::check::{closure#1} 0
<proxy::rate_limiter::limiter::GlobalRateLimiter>::new 0
<proxy::rate_limiter::limiter::RateBucket>::inc 3000909
<proxy::rate_limiter::limiter::RateBucket>::should_allow_request 3000915
<proxy::rate_limiter::limiter::RateBucketInfo as core::fmt::Debug>::fmt 0
<proxy::rate_limiter::limiter::RateBucketInfo as core::fmt::Display>::fmt 19
<proxy::rate_limiter::limiter::RateBucketInfo as core::str::traits::FromStr>::from_str 32
<proxy::rate_limiter::limiter::RateBucketInfo>::new 36
<proxy::rate_limiter::limiter::RateBucketInfo>::rps 19
<proxy::rate_limiter::limiter::RateBucketInfo>::validate 3
<proxy::rate_limiter::limiter::RateBucketInfo>::validate::{closure#0} 8
<proxy::rate_limiter::limiter::RateBucketInfo>::validate::{closure#1} 4
proxy::rate_limiter::limiter::tests::default_rate_buckets 1
proxy::rate_limiter::limiter::tests::rate_bucket_parse 1
proxy::rate_limiter::limiter::tests::rate_bucket_rpi 1
proxy::rate_limiter::limiter::tests::rate_buckets_validate 1
proxy::rate_limiter::limiter::tests::rate_buckets_validate::{closure#0} 2
proxy::rate_limiter::limiter::tests::test_rate_limits 2
proxy::rate_limiter::limiter::tests::test_rate_limits 1
proxy::rate_limiter::limiter::tests::test_rate_limits::{closure#0} 1
proxy::rate_limiter::limiter::tests::test_rate_limits::{closure#0}::{closure#0} 2
proxy::rate_limiter::limiter::tests::test_rate_limits_gc 2
proxy::rate_limiter::limiter::tests::test_rate_limits_gc 1
proxy::rate_limiter::limiter::tests::test_rate_limits_gc::{closure#0} 1

Generated by: LCOV version 2.1-beta