LCOV - code coverage report
Current view: top level - proxy/src/auth - backend.rs (source / functions) Coverage Total Hit
Test: 2aa98e37cd3250b9a68c97ef6050b16fe702ab33.info Lines: 76.9 % 502 386
Test Date: 2024-08-29 11:33:10 Functions: 40.5 % 74 30

Function Name Sort by function name Hit count Sort by function hit count
<proxy::auth::backend::Backend<(), ()> as core::fmt::Display>::fmt 0
<proxy::auth::backend::Backend<_, _>>::as_ref 0
>::as_ref 0
>::as_ref 0
<proxy::auth::backend::Backend<_, _>>::map::<_, _> 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::::authenticate_with_password::{closure#0}::{closure#0}> 0
>::map::<_, _> 0
<proxy::auth::backend::Backend<core::result::Result<_, _>, _>>::transpose 0
, _>>::transpose 0
, &()>>::transpose 0
<proxy::auth::backend::Backend<core::result::Result<_, _>, _>>::transpose::{closure#0} 0
, _>>::transpose::{closure#0} 0
, &()>>::transpose::{closure#0} 0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials, &()> as proxy::proxy::connect_compute::ComputeConnectBackend>::get_keys 36
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials, &()> as proxy::proxy::connect_compute::ComputeConnectBackend>::wake_compute 78
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials, &()> as proxy::proxy::connect_compute::ComputeConnectBackend>::wake_compute::{closure#0} 78
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials, proxy::console::provider::NodeInfo> as proxy::proxy::connect_compute::ComputeConnectBackend>::get_keys 0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials, proxy::console::provider::NodeInfo> as proxy::proxy::connect_compute::ComputeConnectBackend>::wake_compute 0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeCredentials, proxy::console::provider::NodeInfo> as proxy::proxy::connect_compute::ComputeConnectBackend>::wake_compute::{closure#0} 0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo, &()>>::get_allowed_ips_and_secret 0
<proxy::auth::backend::Backend<proxy::auth::backend::ComputeUserInfo, &()>>::get_allowed_ips_and_secret::{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, &()>>::authenticate::<_>::{closure#0} 0
>::authenticate::<_>::{closure#0} 0
>::authenticate::<_>::{closure#0}::{closure#0} 0
>::authenticate::>::{closure#0} 0
>::authenticate::>::{closure#0}::{closure#0} 0
>::authenticate::>>::{closure#0} 0
>::authenticate::>>::{closure#0}::{closure#0} 0
<proxy::auth::backend::Backend<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint, &()>>::get_user 0
<proxy::auth::backend::ComputeUserInfo as core::convert::TryFrom<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>>::try_from 18
<proxy::auth::backend::ComputeUserInfo>::endpoint_cache_key 12
<proxy::auth::backend::MaskedIp>::new 90
<proxy::auth::backend::MaskedIp>::new::{closure#0} 36
<proxy::auth::backend::MaskedIp>::new::{closure#1} 24
<proxy::auth::backend::MaybeOwned<proxy::url::ApiUrl> as core::ops::deref::Deref>::deref 78
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 78
as core::ops::deref::Deref>::deref 0
<proxy::auth::backend::tests::Auth as proxy::console::provider::Api>::get_allowed_ips_and_secret 18
<proxy::auth::backend::tests::Auth as proxy::console::provider::Api>::get_allowed_ips_and_secret::{closure#0} 18
<proxy::auth::backend::tests::Auth as proxy::console::provider::Api>::get_role_secret 0
<proxy::auth::backend::tests::Auth as proxy::console::provider::Api>::get_role_secret::{closure#0} 0
<proxy::auth::backend::tests::Auth as proxy::console::provider::Api>::wake_compute 0
<proxy::auth::backend::tests::Auth as proxy::console::provider::Api>::wake_compute::{closure#0} 0
<proxy::config::AuthenticationConfig>::check_rate_limit 18
proxy::auth::backend::auth_quirks::<_, _> 18
proxy::auth::backend::auth_quirks::<_, _> 0
proxy::auth::backend::auth_quirks:: 18
proxy::auth::backend::auth_quirks::> 0
proxy::auth::backend::auth_quirks::>> 0
proxy::auth::backend::auth_quirks::<_, _>::{closure#0} 18
proxy::auth::backend::auth_quirks::<_, _>::{closure#0} 0
proxy::auth::backend::auth_quirks::::{closure#0} 18
proxy::auth::backend::auth_quirks::>::{closure#0} 0
proxy::auth::backend::auth_quirks::>>::{closure#0} 0
proxy::auth::backend::authenticate_with_secret::<_> 18
proxy::auth::backend::authenticate_with_secret::<_> 0
proxy::auth::backend::authenticate_with_secret::> 0
proxy::auth::backend::authenticate_with_secret::>> 0
proxy::auth::backend::authenticate_with_secret:: 18
proxy::auth::backend::authenticate_with_secret::<_>::{closure#0} 18
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} 0
proxy::auth::backend::authenticate_with_secret::::{closure#0} 18
proxy::auth::backend::tests::CONFIG::{closure#0} 18
proxy::auth::backend::tests::auth_quirks_cleartext 12
proxy::auth::backend::tests::auth_quirks_cleartext 6
proxy::auth::backend::tests::auth_quirks_cleartext::{closure#0} 6
proxy::auth::backend::tests::auth_quirks_cleartext::{closure#0}::{closure#0} 6
proxy::auth::backend::tests::auth_quirks_password_hack 12
proxy::auth::backend::tests::auth_quirks_password_hack 6
proxy::auth::backend::tests::auth_quirks_password_hack::{closure#0} 6
proxy::auth::backend::tests::auth_quirks_password_hack::{closure#0}::{closure#0} 6
proxy::auth::backend::tests::auth_quirks_scram 12
proxy::auth::backend::tests::auth_quirks_scram 6
proxy::auth::backend::tests::auth_quirks_scram::{closure#0} 6
proxy::auth::backend::tests::auth_quirks_scram::{closure#0}::{closure#0} 6
proxy::auth::backend::tests::masked_ip 6
proxy::auth::backend::tests::read_message::<tokio::io::util::mem::DuplexStream> 60
proxy::auth::backend::tests::read_message:: 30
proxy::auth::backend::tests::read_message::::{closure#0} 30
proxy::auth::backend::tests::test_default_auth_rate_limit_set 6

Generated by: LCOV version 2.1-beta