LCOV - code coverage report
Current view:
top level
-
proxy/src/rate_limiter
- limit_algorithm.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7179b4db0d82ca8088cc95c44c4be4232078509c.info
Lines:
84.2 %
120
101
Test Date:
2024-11-21 16:46:58
Functions:
36.8 %
68
25
Function Name
Hit count
<proxy::rate_limiter::limit_algorithm::Fixed as proxy::rate_limiter::limit_algorithm::LimitAlgorithm>::update
0
<proxy::rate_limiter::limit_algorithm::Token>::disabled
0
<proxy::rate_limiter::limit_algorithm::Token>::is_disabled
0
<<proxy::rate_limiter::limit_algorithm::RateLimiterConfig as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
5
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bool::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_bytes::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_char::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f32::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f64::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i16::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i32::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i64::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i8::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u16::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u32::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u8::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_unit::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
1
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
2
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str::
2
<proxy::rate_limiter::limit_algorithm::DynamicLimiter>::new
6
<proxy::rate_limiter::limit_algorithm::RateLimiterConfig>::create_rate_limit_algorithm
6
<proxy::rate_limiter::limit_algorithm::Token>::release
8
<proxy::rate_limiter::limit_algorithm::DynamicLimiter>::state
9
<proxy::rate_limiter::limit_algorithm::LimiterState>::limit
9
<proxy::rate_limiter::limit_algorithm::DynamicLimiter>::release_inner
11
<proxy::rate_limiter::limit_algorithm::LimiterInner>::take
11
<proxy::rate_limiter::limit_algorithm::LimiterInner>::update_limit
11
<proxy::rate_limiter::limit_algorithm::Token as core::ops::drop::Drop>::drop
11
<proxy::rate_limiter::limit_algorithm::Token>::new
11
<proxy::rate_limiter::limit_algorithm::DynamicLimiter>::acquire_timeout
12
<proxy::rate_limiter::limit_algorithm::DynamicLimiter>::acquire_timeout::{closure#0}
12
<<proxy::rate_limiter::limit_algorithm::RateLimitAlgorithm as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
15
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::expecting
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_bool::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_borrowed_bytes::
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_bytes::
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_char::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_f32::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_f64::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_i16::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_i32::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_i64::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_i8::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_u16::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_u32::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_u64::
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_u8::
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_unit::<_>
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__Visitor as serde::de::DeserializeSeed>::deserialize::
>
1
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__Visitor as serde::de::Visitor>::visit_map::<&mut serde::de::value::MapDeserializer
, serde::__private::de::content::visit_content_map<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__Visitor, serde_json::error::Error>::{closure#0}>, serde_json::error::Error>>
1
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
1
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
1
<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::
>
1
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__Field as serde::de::Deserialize>::deserialize::
>
5
<<
::deserialize::__Visitor as serde::de::Visitor>::visit_enum::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str::
5
<proxy::rate_limiter::limit_algorithm::Token>::release_mut
19
<proxy::rate_limiter::limit_algorithm::DynamicLimiter>::acquire
24
::acquire
12
::acquire::{closure#0}
12
Generated by:
LCOV version 2.1-beta