LCOV - code coverage report
Current view:
top level
-
proxy/src/cache
- project_info.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
52d9d4a58355424a48c56cb9ba9670a073f618b9.info
Lines:
85.7 %
434
372
Test Date:
2024-11-21 08:31:22
Functions:
75.0 %
36
27
Function Name
Hit count
<proxy::cache::project_info::CachedLookupInfo>::new_allowed_ips
1
<proxy::cache::project_info::CachedLookupInfo>::new_role_secret
4
<proxy::cache::project_info::EndpointInfo>::check_ignore_cache
11
<proxy::cache::project_info::EndpointInfo>::get_allowed_ips
5
<proxy::cache::project_info::EndpointInfo>::get_role_secret
15
<proxy::cache::project_info::EndpointInfo>::invalidate_allowed_ips
0
<proxy::cache::project_info::EndpointInfo>::invalidate_role_secret
1
<proxy::cache::project_info::Entry<core::option::Option<proxy::control_plane::AuthSecret>> as core::convert::From<core::option::Option<proxy::control_plane::AuthSecret>>>::from
9
>> as core::convert::From
>>>::from
3
> as core::convert::From
>>::from
6
<proxy::cache::project_info::Entry<core::option::Option<proxy::control_plane::AuthSecret>>>::new
9
>>>::new
3
>>::new
6
<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
4
::increment_active_listeners
2
::increment_active_listeners::{closure#0}
2
<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
1
<proxy::cache::project_info::ProjectInfoCacheImpl as proxy::cache::project_info::ProjectInfoCache>::invalidate_role_secret_for_project::{closure#0}
1
<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
5
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_cache_times
20
<proxy::cache::project_info::ProjectInfoCacheImpl>::get_role_secret
15
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_allowed_ips
3
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_project2endpoint
10
<proxy::cache::project_info::ProjectInfoCacheImpl>::insert_role_secret
7
<proxy::cache::project_info::ProjectInfoCacheImpl>::new
3
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
1
proxy::cache::project_info::tests::test_increment_active_listeners_invalidate_added_before::{closure#0}
1
proxy::cache::project_info::tests::test_project_info_cache_invalidations
2
proxy::cache::project_info::tests::test_project_info_cache_invalidations
1
proxy::cache::project_info::tests::test_project_info_cache_invalidations::{closure#0}
1
proxy::cache::project_info::tests::test_project_info_cache_settings
2
proxy::cache::project_info::tests::test_project_info_cache_settings
1
proxy::cache::project_info::tests::test_project_info_cache_settings::{closure#0}
1
Generated by:
LCOV version 2.1-beta