LCOV - code coverage report
Current view:
top level
-
proxy/src/auth
- credentials.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
49aa928ec5b4b510172d8b5c6d154da28e70a46c.info
Lines:
95.8 %
380
364
Test Date:
2024-11-13 18:23:39
Functions:
87.5 %
40
35
Function Name
Hit count
<<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::StrVisitor as serde::de::Visitor>::expecting
0
<<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::StrVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>
9
<<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::StrVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>::{closure#0}
1
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::endpoint
0
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse
13
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#0}
13
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#1}
7
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#2}
4
<proxy::auth::credentials::ComputeUserInfoMaybeEndpoint>::parse::{closure#3}
7
<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 core::str::traits::FromStr>::from_str
6
<proxy::auth::credentials::IpPattern as serde::de::Deserialize>::deserialize::<serde_json::value::Value>
9
::deserialize::<&mut serde_json::de::Deserializer
>
0
::deserialize::<&mut serde_json::de::Deserializer
>
2
::deserialize::
7
proxy::auth::credentials::check_ip
16
proxy::auth::credentials::check_peer_addr_is_in_list
10
proxy::auth::credentials::check_peer_addr_is_in_list::{closure#0}
6
proxy::auth::credentials::endpoint_sni
27
proxy::auth::credentials::parse_ip_pattern
23
proxy::auth::credentials::project_name_valid
7
proxy::auth::credentials::project_name_valid::{closure#0}
23
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_check_peer_addr_is_in_list::check
4
proxy::auth::credentials::tests::test_connection_blocker
1
proxy::auth::credentials::tests::test_connection_blocker::check
3
proxy::auth::credentials::tests::test_parse_ip_v4
1
Generated by:
LCOV version 2.1-beta