LCOV - code coverage report
Current view: top level - proxy/src/auth/backend - jwt.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 74.0 % 515 381
Test Date: 2024-10-22 22:13:45 Functions: 33.6 % 134 45

Function Name Sort by function name Hit count Sort by function hit count
<<proxy::auth::backend::jwt::OneOrMany as serde::de::Deserialize>::deserialize::OneOrManyVisitor as serde::de::Visitor>::expecting 0
<<proxy::auth::backend::jwt::OneOrMany as serde::de::Deserialize>::deserialize::OneOrManyVisitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::OneOrManyVisitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::OneOrManyVisitor as serde::de::Visitor>::visit_seq::> 0
<<proxy::auth::backend::jwt::OneOrMany as serde::de::Deserialize>::deserialize::OneOrManyVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::OneOrManyVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::OneOrManyVisitor as serde::de::Visitor>::visit_str:: 0
<proxy::auth::backend::jwt::FetchAuthRulesError as core::fmt::Display>::fmt 0
>::from 0
::source 0
::fmt 0
<proxy::auth::backend::jwt::JwkCache>::check_jwt::<_> 0
::check_jwt::<_> 0
::check_jwt:: 0
::check_jwt:: 0
<proxy::auth::backend::jwt::JwkCache>::check_jwt::<_>::{closure#0} 0
::check_jwt::<_>::{closure#0} 0
::check_jwt::::{closure#0} 0
::check_jwt::::{closure#0} 0
<proxy::auth::backend::jwt::JwkCache>::check_jwt::<_>::{closure#0}::{closure#0} 0
::check_jwt::<_>::{closure#0}::{closure#0} 0
::check_jwt::::{closure#0}::{closure#0} 0
::check_jwt::::{closure#0}::{closure#0} 0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::check_jwt::<_>::{closure#0}::{closure#0} 0
::check_jwt::<_>::{closure#0}::{closure#0} 0
::check_jwt::::{closure#0}::{closure#0} 0
::check_jwt::::{closure#0}::{closure#0} 0
::check_jwt::::{closure#0}::{closure#0} 0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::get_or_update_jwk_cache::<_>::{closure#0}::{closure#0} 0
::get_or_update_jwk_cache::<_>::{closure#0}::{closure#0} 0
::get_or_update_jwk_cache::::{closure#0}::{closure#0} 0
::get_or_update_jwk_cache::::{closure#0}::{closure#0} 0
::get_or_update_jwk_cache::::{closure#0}::{closure#0} 0
<proxy::auth::backend::jwt::JwkCacheEntryLock>::try_acquire_permit 0
<proxy::auth::backend::jwt::JwkRenewalPermit>::into_owned 0
<proxy::auth::backend::jwt::JwkRenewalPermit>::try_acquire_permit 0
<proxy::auth::backend::jwt::JwkRenewalPermitInner>::into_owned 0
<proxy::auth::backend::jwt::JwtEncodingError as core::fmt::Display>::fmt 0
>::from 0
>::from 0
::source 0
::fmt 0
<proxy::auth::backend::jwt::JwtError as core::convert::From<base64::decode::DecodeError>>::from 0
<proxy::auth::backend::jwt::JwtError as core::convert::From<serde_json::error::Error>>::from 0
<proxy::auth::backend::jwt::KeyType as core::convert::From<&jose_jwk::key::Key>>::from 0
<proxy::auth::backend::jwt::OneOrMany as serde::de::Deserialize>::deserialize::<_> 0
::deserialize::<&mut serde_json::de::Deserializer> 0
::deserialize::<_> 0
<proxy::auth::backend::jwt::JwkCacheEntryLock as core::default::Default>::default 1
<proxy::auth::backend::jwt::JwkCacheEntryLock>::renew_jwks::<_> 1
::renew_jwks::<_> 0
::renew_jwks:: 0
::renew_jwks:: 0
::renew_jwks:: 1
<proxy::auth::backend::jwt::JwkCacheEntryLock>::renew_jwks::<_>::{closure#0} 1
::renew_jwks::<_>::{closure#0} 0
::renew_jwks::::{closure#0} 0
::renew_jwks::::{closure#0} 0
::renew_jwks::::{closure#0} 1
<proxy::auth::backend::jwt::JwkRenewalPermit as core::ops::drop::Drop>::drop 1
<proxy::auth::backend::jwt::tests::renew::{closure#0}::Fetch as proxy::auth::backend::jwt::FetchAuthRules>::fetch_auth_rules 1
<proxy::auth::backend::jwt::tests::renew::{closure#0}::Fetch as proxy::auth::backend::jwt::FetchAuthRules>::fetch_auth_rules::{closure#0} 1
proxy::auth::backend::jwt::tests::renew::{closure#0}::{closure#1} 1
<proxy::auth::backend::jwt::JwkCacheEntryLock>::acquire_permit 2
::acquire_permit 1
::acquire_permit::{closure#0} 1
<proxy::auth::backend::jwt::JwkCacheEntryLock>::renew_jwks::<_>::{closure#0}::{closure#0} 2
::renew_jwks::<_>::{closure#0}::{closure#0} 0
::renew_jwks::::{closure#0}::{closure#0} 0
::renew_jwks::::{closure#0}::{closure#0} 0
::renew_jwks::::{closure#0}::{closure#0} 2
<proxy::auth::backend::jwt::JwkRenewalPermit>::acquire_permit 2
::acquire_permit 1
::acquire_permit::{closure#0} 1
proxy::auth::backend::jwt::tests::new_ec_jwk 2
proxy::auth::backend::jwt::tests::new_rsa_jwk 2
proxy::auth::backend::jwt::tests::new_rsa_jwt 2
proxy::auth::backend::jwt::tests::renew 2
proxy::auth::backend::jwt::tests::renew 1
proxy::auth::backend::jwt::tests::renew::{closure#0} 1
proxy::auth::backend::jwt::tests::renew::{closure#0}::{closure#0} 2
proxy::auth::backend::jwt::tests::renew::{closure#0}::{closure#0}::{closure#0} 2
<proxy::auth::backend::jwt::JwtError as core::fmt::Display>::fmt 3
>::from 0
>::from 0
::source 0
>::from 1
::fmt 2
proxy::auth::backend::jwt::tests::new_ec_jwt 3
proxy::auth::backend::jwt::verify_rsa_signature 4
proxy::auth::backend::jwt::tests::build_jwt_payload 5
proxy::auth::backend::jwt::verify_ec_signature 5
proxy::auth::backend::jwt::numeric_date_opt::<_> 8
proxy::auth::backend::jwt::numeric_date_opt::<_> 0
proxy::auth::backend::jwt::numeric_date_opt::<&mut serde_json::de::Deserializer> 8
proxy::auth::backend::jwt::numeric_date_opt::<_>::{closure#0} 8
proxy::auth::backend::jwt::numeric_date_opt::<_>::{closure#0} 0
proxy::auth::backend::jwt::numeric_date_opt::<&mut serde_json::de::Deserializer>::{closure#0} 8
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience::{closure#1}::{closure#0} 9
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience 10
<proxy::auth::backend::jwt::JwkCacheEntryLock>::check_jwt::<_> 10
::check_jwt::<_> 0
::check_jwt:: 0
::check_jwt:: 0
::check_jwt:: 10
<proxy::auth::backend::jwt::JwkCacheEntryLock>::check_jwt::<_>::{closure#0} 10
::check_jwt::<_>::{closure#0} 0
::check_jwt::::{closure#0} 0
::check_jwt::::{closure#0} 0
::check_jwt::::{closure#0} 10
<proxy::auth::backend::jwt::JwkCacheEntryLock>::get_or_update_jwk_cache::<_> 10
::get_or_update_jwk_cache::<_> 0
::get_or_update_jwk_cache:: 0
::get_or_update_jwk_cache:: 0
::get_or_update_jwk_cache:: 10
<proxy::auth::backend::jwt::JwkCacheEntryLock>::get_or_update_jwk_cache::<_>::{closure#0} 10
::get_or_update_jwk_cache::<_>::{closure#0} 0
::get_or_update_jwk_cache::::{closure#0} 0
::get_or_update_jwk_cache::::{closure#0} 0
::get_or_update_jwk_cache::::{closure#0} 10
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience::{closure#1} 14
<proxy::auth::backend::jwt::KeySet>::find_key 14
<proxy::auth::backend::jwt::KeySet>::find_key::{closure#0} 24
<<proxy::auth::backend::jwt::JwtPayload as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 32
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 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_str::<_> 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_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#1} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#0} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::>::{closure#1} 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 8
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 8
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 8
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 8
<proxy::auth::backend::jwt::JwkCacheEntry>::find_jwk_and_audience::{closure#0} 40
::find_jwk_and_audience::{closure#0} 16
::find_jwk_and_audience::{closure#0}::{closure#0} 24
<<proxy::auth::backend::jwt::JwtHeader as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 50
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 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_str::<_> 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_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 10
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 20
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 20

Generated by: LCOV version 2.1-beta