LCOV - code coverage report
Current view:
top level
-
proxy/src/auth
- credentials.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
53437f7e869ac68c86c7d3e4c20964c0156f158c.info
Lines:
95.8 %
380
364
Test Date:
2024-09-20 16:14:12
Functions:
81.4 %
43
35
Function Name
Hit count
<<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::StrVisitor as serde::de::Visitor>::expecting
0
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::endpoint
0
<proxy::auth::credentials::ComputeUserInfoParseError as core::fmt::Display>::fmt
0
<proxy::auth::credentials::ComputeUserInfoParseError as proxy::error::ReportableError>::get_error_kind
0
<<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::StrVisitor as serde::de::Visitor>::visit_str::<_>::{closure#0}
1
<
::deserialize::StrVisitor as serde::de::Visitor>::visit_str::<_>::{closure#0}
0
<
::deserialize::StrVisitor as serde::de::Visitor>::visit_str::
::{closure#0}
1
proxy::auth::credentials::tests::parse_bare_minimum
1
proxy::auth::credentials::tests::parse_endpoint_from_options
1
proxy::auth::credentials::tests::parse_excessive
1
proxy::auth::credentials::tests::parse_inconsistent_sni
1
proxy::auth::credentials::tests::parse_multi_common_names
1
proxy::auth::credentials::tests::parse_neon_options
1
proxy::auth::credentials::tests::parse_project_from_options
1
proxy::auth::credentials::tests::parse_project_from_sni
1
proxy::auth::credentials::tests::parse_projects_different
1
proxy::auth::credentials::tests::parse_projects_identical
1
proxy::auth::credentials::tests::parse_three_endpoints_from_options
1
proxy::auth::credentials::tests::parse_when_endpoint_and_project_are_in_options
1
proxy::auth::credentials::tests::test_check_ipv4
1
proxy::auth::credentials::tests::test_check_peer_addr_is_in_list
1
proxy::auth::credentials::tests::test_connection_blocker
1
proxy::auth::credentials::tests::test_parse_ip_v4
1
proxy::auth::credentials::tests::test_connection_blocker::check
3
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#2}
4
proxy::auth::credentials::tests::test_check_peer_addr_is_in_list::check
4
<proxy::auth::credentials::IpPattern as core::str::traits::FromStr>::from_str
6
proxy::auth::credentials::check_peer_addr_is_in_list::{closure#0}
6
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#1}
7
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#3}
7
proxy::auth::credentials::project_name_valid
7
<<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::StrVisitor as serde::de::Visitor>::visit_str::<_>
8
<
::deserialize::StrVisitor as serde::de::Visitor>::visit_str::<_>
0
<
::deserialize::StrVisitor as serde::de::Visitor>::visit_str::
8
<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::<_>
8
::deserialize::<&mut serde_json::de::Deserializer
>
0
::deserialize::<_>
0
::deserialize::<&mut serde_json::de::Deserializer
>
2
::deserialize::
6
proxy::auth::credentials::check_peer_addr_is_in_list
10
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse
13
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#0}
13
proxy::auth::credentials::check_ip
16
proxy::auth::credentials::parse_ip_pattern
22
proxy::auth::credentials::project_name_valid::{closure#0}
23
proxy::auth::credentials::endpoint_sni
27
Generated by:
LCOV version 2.1-beta