LCOV - code coverage report
Current view:
top level
-
proxy/src/cache
- project_info.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
ec3669e3e2c475fa8f629fda7ec6b3e52960c08d.info
Lines:
85.7 %
434
372
Test Date:
2024-06-19 16:48:34
Functions:
75.0 %
36
27
Function Name
Hit count
<proxy::cache::project_info::CachedLookupInfo>::new_allowed_ips
2
<proxy::cache::project_info::CachedLookupInfo>::new_role_secret
8
<proxy::cache::project_info::EndpointInfo>::check_ignore_cache
22
<proxy::cache::project_info::EndpointInfo>::get_allowed_ips
10
<proxy::cache::project_info::EndpointInfo>::get_role_secret
30
<proxy::cache::project_info::EndpointInfo>::invalidate_allowed_ips
0
<proxy::cache::project_info::EndpointInfo>::invalidate_role_secret
2
<proxy::cache::project_info::Entry<core::option::Option<proxy::console::provider::AuthSecret>> as core::convert::From<core::option::Option<proxy::console::provider::AuthSecret>>>::from
18
>> as core::convert::From
>>>::from
6
> as core::convert::From
>>::from
12
<proxy::cache::project_info::Entry<core::option::Option<proxy::console::provider::AuthSecret>>>::new
18
>>>::new
6
>>::new
12
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::common::Cache>::invalidate
0
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::decrement_active_listeners
0
::decrement_active_listeners
0
::decrement_active_listeners::{closure#0}
0
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::increment_active_listeners
8
::increment_active_listeners
4
::increment_active_listeners::{closure#0}
4
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::invalidate_allowed_ips_for_project
0
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::invalidate_allowed_ips_for_project::{closure#0}
0
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::invalidate_role_secret_for_project
2
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::invalidate_role_secret_for_project::{closure#0}
2
<proxy::cache::project_info::ProjectInfoCacheImpl>::gc
0
<proxy::cache::project_info::ProjectInfoCacheImpl>::gc_worker
0
::gc_worker
0
::gc_worker::{closure#0}
0
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_allowed_ips
10
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_cache_times
40
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_role_secret
30
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_allowed_ips
6
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_project2endpoint
20
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_role_secret
14
<proxy::cache::project_info::ProjectInfoCacheImpl>::new
6
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before
4
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before
2
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before::{closure#0}
2
proxy::cache::project_info::tests::test_project_info_cache_invalidations
4
proxy::cache::project_info::tests::test_project_info_cache_invalidations
2
proxy::cache::project_info::tests::test_project_info_cache_invalidations::{closure#0}
2
proxy::cache::project_info::tests::test_project_info_cache_settings
4
proxy::cache::project_info::tests::test_project_info_cache_settings
2
proxy::cache::project_info::tests::test_project_info_cache_settings::{closure#0}
2
Generated by:
LCOV version 2.1-beta