LCOV - code coverage report
Current view:
top level
-
proxy/src/serverless
- conn_pool_lib.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info
Lines:
60.6 %
373
226
Test Date:
2024-10-22 22:13:45
Functions:
30.6 %
62
19
Function Name
Hit count
<proxy::serverless::conn_pool_lib::Client<_> as core::ops::deref::Deref>::deref
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
1
as core::ops::drop::Drop>::drop
1
as core::ops::drop::Drop>::drop
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::do_drop
7
>::do_drop
7
>::do_drop
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::do_drop::{closure#0}
6
>::do_drop::{closure#0}
6
>::do_drop::{closure#0}
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::inner_mut
1
>::inner_mut
1
>::inner_mut
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::metrics
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::new
7
>::new
7
>::new
0
<proxy::serverless::conn_pool_lib::ConnInfo>::db_and_user
3
<proxy::serverless::conn_pool_lib::ConnInfo>::endpoint_cache_key
2
<proxy::serverless::conn_pool_lib::DbUserConnPool<_>>::clear_closed_clients
1
>::clear_closed_clients
0
>::clear_closed_clients
1
>::clear_closed_clients
0
<proxy::serverless::conn_pool_lib::DbUserConnPool<_>>::clear_closed_clients::{closure#0}
2
>::clear_closed_clients::{closure#0}
0
>::clear_closed_clients::{closure#0}
2
>::clear_closed_clients::{closure#0}
0
<proxy::serverless::conn_pool_lib::DbUserConnPool<_>>::get_conn_entry
0
>::get_conn_entry
0
>::get_conn_entry
0
<proxy::serverless::conn_pool_lib::DbUserConnPool<tokio_postgres::client::Client> as core::default::Default>::default
2
as core::default::Default>::default
2
as core::default::Default>::default
0
<proxy::serverless::conn_pool_lib::Discard<tokio_postgres::client::Client>>::check_idle
0
<proxy::serverless::conn_pool_lib::Discard<tokio_postgres::client::Client>>::discard
1
>::discard
1
>::discard
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<_>>::get_conn_entry
0
>::get_conn_entry
0
>::get_conn_entry
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<_>>::get_conn_entry::{closure#0}
0
>::get_conn_entry::{closure#0}
0
>::get_conn_entry::{closure#0}
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
2
as core::ops::drop::Drop>::drop
2
as core::ops::drop::Drop>::drop
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client>>::put
6
>::put
6
>::put
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client>>::remove_client
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client>>::remove_client::{closure#0}
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::gc
2
>::gc
0
>::gc
2
>::gc
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::gc::{closure#0}
2
>::gc::{closure#0}
0
>::gc::{closure#0}
2
>::gc::{closure#0}
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::gc_worker::<_>
0
>::gc_worker::<_>
0
>::gc_worker::<_>::{closure#0}
0
>::gc_worker::
0
>::gc_worker::
::{closure#0}
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::get
0
>::get
0
>::get
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::new
1
>::new
0
>::new
1
>::new
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::shutdown
0
>::shutdown
0
>::shutdown
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<proxy::serverless::conn_pool::tests::MockClient>>::get_global_connections_count
9
<proxy::serverless::conn_pool_lib::GlobalConnPool<tokio_postgres::client::Client>>::get_idle_timeout
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<tokio_postgres::client::Client>>::get_or_create_endpoint_pool
2
>::get_or_create_endpoint_pool
2
>::get_or_create_endpoint_pool
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<tokio_postgres::client::Client>>::get_or_create_endpoint_pool::{closure#0}
2
>::get_or_create_endpoint_pool::{closure#0}
2
>::get_or_create_endpoint_pool::{closure#0}
0
<tokio_postgres::client::Client as proxy::serverless::conn_pool_lib::ClientInnerExt>::get_process_id
0
<tokio_postgres::client::Client as proxy::serverless::conn_pool_lib::ClientInnerExt>::is_closed
0
Generated by:
LCOV version 2.1-beta