LCOV - code coverage report
Current view:
top level
-
proxy/src/cache
- project_info.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
2aa98e37cd3250b9a68c97ef6050b16fe702ab33.info
Lines:
85.7 %
434
372
Test Date:
2024-08-29 11:33:10
Functions:
75.0 %
36
27
Function Name
Hit count
<proxy::cache::project_info::CachedLookupInfo>::new_allowed_ips
6
<proxy::cache::project_info::CachedLookupInfo>::new_role_secret
24
<proxy::cache::project_info::EndpointInfo>::check_ignore_cache
66
<proxy::cache::project_info::EndpointInfo>::get_allowed_ips
30
<proxy::cache::project_info::EndpointInfo>::get_role_secret
90
<proxy::cache::project_info::EndpointInfo>::invalidate_allowed_ips
0
<proxy::cache::project_info::EndpointInfo>::invalidate_role_secret
6
<proxy::cache::project_info::Entry<core::option::Option<proxy::console::provider::AuthSecret>> as core::convert::From<core::option::Option<proxy::console::provider::AuthSecret>>>::from
54
>> as core::convert::From
>>>::from
18
> as core::convert::From
>>::from
36
<proxy::cache::project_info::Entry<core::option::Option<proxy::console::provider::AuthSecret>>>::new
54
>>>::new
18
>>::new
36
<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
24
::increment_active_listeners
12
::increment_active_listeners::{closure#0}
12
<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
6
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::invalidate_role_secret_for_project::{closure#0}
6
<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
30
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_cache_times
120
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_role_secret
90
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_allowed_ips
18
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_project2endpoint
60
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_role_secret
42
<proxy::cache::project_info::ProjectInfoCacheImpl>::new
18
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before
12
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before
6
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before::{closure#0}
6
proxy::cache::project_info::tests::test_project_info_cache_invalidations
12
proxy::cache::project_info::tests::test_project_info_cache_invalidations
6
proxy::cache::project_info::tests::test_project_info_cache_invalidations::{closure#0}
6
proxy::cache::project_info::tests::test_project_info_cache_settings
12
proxy::cache::project_info::tests::test_project_info_cache_settings
6
proxy::cache::project_info::tests::test_project_info_cache_settings::{closure#0}
6
Generated by:
LCOV version 2.1-beta