LCOV - code coverage report
Current view:
top level
-
proxy/src/auth/backend
- mod.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
98683a8629f0f7f0031d02e04512998d589d76ea.info
Lines:
73.9 %
555
410
Test Date:
2025-04-11 16:58:57
Functions:
45.9 %
74
34
Function Name
Hit count
<<proxy::auth::backend::ComputeUserInfo as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
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
<proxy::auth::backend::Backend<&()>>::map::<proxy::auth::backend::ComputeUserInfo, <proxy::serverless::backend::PoolingBackend>::authenticate_with_password::{closure#0}::{closure#0}>
0
>::map::
, proxy::proxy::handle_client
>::{closure#0}::{closure#2}>
0
>::map::
, proxy::proxy::handle_client
>>::{closure#0}::{closure#2}>
0
>::map::
::connect_to_compute::{closure#0}::{closure#0}::{closure#0}>
0
>::map::
::connect_to_local_proxy::{closure#0}::{closure#0}::{closure#0}>
0
>::map::
::authenticate_with_password::{closure#0}::{closure#0}>
0
<proxy::auth::backend::Backend<()> as core::fmt::Display>::fmt
0
<proxy::auth::backend::Backend<()>>::as_ref
0
<proxy::auth::backend::Backend<()>>::get_api
0
<proxy::auth::backend::Backend<()>>::is_local_proxy
0
<proxy::auth::backend::Backend<core::result::Result<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint, proxy::auth::credentials::ComputeUserInfoParseError>>>::transpose
0
<proxy::auth::backend::Backend<core::result::Result<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint, proxy::auth::credentials::ComputeUserInfoParseError>>>::transpose::{closure#0}
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_allowed_ips
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_allowed_ips::{closure#0}
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_allowed_vpc_endpoint_ids
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_allowed_vpc_endpoint_ids::{closure#0}
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_block_public_or_vpc_access
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_block_public_or_vpc_access::{closure#0}
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_role_secret
0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo>>::get_role_secret::{closure#0}
0
<proxy::auth::backend::Backend<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>>::get_user
0
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_allowed_vpc_endpoint_ids
0
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_allowed_vpc_endpoint_ids::{closure#0}
0
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_endpoint_jwks
0
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_endpoint_jwks::{closure#0}
0
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::wake_compute
0
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::wake_compute::{closure#0}
0
proxy::auth::backend::tests::auth_quirks_cleartext::{closure#0}::{closure#0}
1
proxy::auth::backend::tests::auth_quirks_password_hack::{closure#0}::{closure#0}
1
proxy::auth::backend::tests::auth_quirks_scram::{closure#0}::{closure#0}
1
proxy::auth::backend::tests::masked_ip
1
proxy::auth::backend::tests::test_default_auth_rate_limit_set
1
<proxy::auth::backend::ComputeUserInfo>::endpoint_cache_key
2
proxy::auth::backend::tests::auth_quirks_cleartext
2
proxy::auth::backend::tests::auth_quirks_cleartext
1
proxy::auth::backend::tests::auth_quirks_cleartext::{closure#0}
1
proxy::auth::backend::tests::auth_quirks_password_hack
2
proxy::auth::backend::tests::auth_quirks_password_hack
1
proxy::auth::backend::tests::auth_quirks_password_hack::{closure#0}
1
proxy::auth::backend::tests::auth_quirks_scram
2
proxy::auth::backend::tests::auth_quirks_scram
1
proxy::auth::backend::tests::auth_quirks_scram::{closure#0}
1
<proxy::auth::backend::ComputeUserInfo as core::convert::TryFrom<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>>::try_from
3
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_allowed_ips
3
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_allowed_ips::{closure#0}
3
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_block_public_or_vpc_access
3
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_block_public_or_vpc_access::{closure#0}
3
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_role_secret
3
<proxy::auth::backend::tests::Auth as proxy::control_plane::ControlPlaneApi>::get_role_secret::{closure#0}
3
<proxy::config::AuthenticationConfig>::check_rate_limit
3
proxy::auth::backend::auth_quirks::<proxy::auth::backend::tests::Auth, tokio::io::util::mem::DuplexStream>
3
proxy::auth::backend::auth_quirks::
>
0
proxy::auth::backend::auth_quirks::
>>
0
proxy::auth::backend::auth_quirks::
3
proxy::auth::backend::auth_quirks::<proxy::auth::backend::tests::Auth, tokio::io::util::mem::DuplexStream>::{closure#0}
3
proxy::auth::backend::auth_quirks::
>::{closure#0}
0
proxy::auth::backend::auth_quirks::
>>::{closure#0}
0
proxy::auth::backend::auth_quirks::
::{closure#0}
3
proxy::auth::backend::authenticate_with_secret::<tokio::io::util::mem::DuplexStream>
3
proxy::auth::backend::authenticate_with_secret::
>
0
proxy::auth::backend::authenticate_with_secret::
>>
0
proxy::auth::backend::authenticate_with_secret::
3
proxy::auth::backend::authenticate_with_secret::<tokio::io::util::mem::DuplexStream>::{closure#0}
3
proxy::auth::backend::authenticate_with_secret::
>::{closure#0}
0
proxy::auth::backend::authenticate_with_secret::
>>::{closure#0}
0
proxy::auth::backend::authenticate_with_secret::
::{closure#0}
3
proxy::auth::backend::tests::CONFIG::{closure#0}
3
<proxy::auth::backend::MaskedIp>::new::{closure#1}
4
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials> as proxy::proxy::connect_compute::ComputeConnectBackend>::get_keys
6
<proxy::auth::backend::MaskedIp>::new::{closure#0}
6
proxy::auth::backend::tests::read_message::<tokio::io::util::mem::DuplexStream>
10
proxy::auth::backend::tests::read_message::
5
proxy::auth::backend::tests::read_message::
::{closure#0}
5
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials> as proxy::proxy::connect_compute::ComputeConnectBackend>::wake_compute
13
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials> as proxy::proxy::connect_compute::ComputeConnectBackend>::wake_compute::{closure#0}
13
<proxy::auth::backend::MaybeOwned<proxy::auth::backend::local::LocalBackend> as core::ops::deref::Deref>::deref
13
as core::ops::deref::Deref>::deref
0
as core::ops::deref::Deref>::deref
13
<proxy::auth::backend::MaskedIp>::new
15
Generated by:
LCOV version 2.1-beta