LCOV - code coverage report
Current view:
top level
-
proxy/src/serverless
- conn_pool_lib.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
8ff8efadb0253cf618c612650348666c0c564111.info
Lines:
54.5 %
448
244
Test Date:
2024-11-20 17:53:50
Functions:
27.4 %
84
23
Function Name
Hit count
<proxy::serverless::conn_pool_lib::Client<_> as core::ops::deref::Deref>::deref
0
<proxy::serverless::conn_pool_lib::Client<_>>::client_inner
0
>::client_inner
0
>::client_inner
0
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::metrics
0
<proxy::serverless::conn_pool_lib::ClientInnerCommon<_>>::get_data
0
>::get_data
0
>::get_data
0
<proxy::serverless::conn_pool_lib::DbUserConnPool<_> as proxy::serverless::conn_pool_lib::DbUserConn<_>>::get_conn_entry
0
as proxy::serverless::conn_pool_lib::DbUserConn<_>>::get_conn_entry
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::get_conn_entry
0
<proxy::serverless::conn_pool_lib::DbUserConnPool<_> as proxy::serverless::conn_pool_lib::DbUserConn<_>>::is_initialized
0
as proxy::serverless::conn_pool_lib::DbUserConn<_>>::is_initialized
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::is_initialized
0
<proxy::serverless::conn_pool_lib::DbUserConnPool<_> as proxy::serverless::conn_pool_lib::DbUserConn<_>>::set_initialized
0
as proxy::serverless::conn_pool_lib::DbUserConn<_>>::set_initialized
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::set_initialized
0
<proxy::serverless::conn_pool_lib::Discard<tokio_postgres::client::Client>>::check_idle
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<_>>::get_pool
0
>::get_pool
0
>::get_pool
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<_>>::get_pool_mut
0
>::get_pool_mut
0
>::get_pool_mut
0
<proxy::serverless::conn_pool_lib::EndpointConnPool<_>>::new
0
>::new
0
>::new
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_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<_>>::shutdown
0
>::shutdown
0
>::shutdown
0
<proxy::serverless::conn_pool_lib::GlobalConnPool<tokio_postgres::client::Client>>::get_idle_timeout
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
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
1
as core::ops::drop::Drop>::drop
0
as core::ops::drop::Drop>::drop
1
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::inner
1
>::inner
0
>::inner
1
<proxy::serverless::conn_pool_lib::DbUserConnPool<_> as proxy::serverless::conn_pool_lib::DbUserConn<_>>::clear_closed_clients
1
as proxy::serverless::conn_pool_lib::DbUserConn<_>>::clear_closed_clients
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::clear_closed_clients
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::clear_closed_clients
1
<proxy::serverless::conn_pool_lib::Discard<tokio_postgres::client::Client>>::discard
1
>::discard
0
>::discard
1
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::new
1
>::new
0
>::new
0
>::new
1
<proxy::serverless::conn_pool_lib::ConnInfo>::endpoint_cache_key
2
<proxy::serverless::conn_pool_lib::DbUserConnPool<_> as proxy::serverless::conn_pool_lib::DbUserConn<_>>::clear_closed_clients::{closure#0}
2
as proxy::serverless::conn_pool_lib::DbUserConn<_>>::clear_closed_clients::{closure#0}
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::clear_closed_clients::{closure#0}
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::clear_closed_clients::{closure#0}
2
<proxy::serverless::conn_pool_lib::DbUserConnPool<tokio_postgres::client::Client> as core::default::Default>::default
2
as core::default::Default>::default
0
as core::default::Default>::default
2
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
2
as core::ops::drop::Drop>::drop
0
as core::ops::drop::Drop>::drop
2
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::gc
2
>::gc
0
>::gc
0
>::gc
2
<proxy::serverless::conn_pool_lib::GlobalConnPool<_>>::gc::{closure#0}
2
>::gc::{closure#0}
0
>::gc::{closure#0}
0
>::gc::{closure#0}
2
<proxy::serverless::conn_pool_lib::GlobalConnPool<tokio_postgres::client::Client>>::get_or_create_endpoint_pool
2
>::get_or_create_endpoint_pool
0
>::get_or_create_endpoint_pool
2
<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}
0
>::get_or_create_endpoint_pool::{closure#0}
2
<proxy::serverless::conn_pool_lib::ConnInfo>::db_and_user
3
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::do_drop::{closure#0}
6
>::do_drop::{closure#0}
0
>::do_drop::{closure#0}
6
<proxy::serverless::conn_pool_lib::ClientInnerCommon<tokio_postgres::client::Client>>::get_conn_id
6
>::get_conn_id
0
>::get_conn_id
6
<proxy::serverless::conn_pool_lib::DbUserConnPool<tokio_postgres::client::Client> as proxy::serverless::conn_pool_lib::DbUserConn<tokio_postgres::client::Client>>::get_conns
6
as proxy::serverless::conn_pool_lib::DbUserConn
>::get_conns
0
as proxy::serverless::conn_pool_lib::DbUserConn
>::get_conns
6
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client>>::get_name
6
>::get_name
0
>::get_name
6
<proxy::serverless::conn_pool_lib::EndpointConnPool<tokio_postgres::client::Client>>::put
6
>::put
0
>::put
6
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::do_drop
7
>::do_drop
0
>::do_drop
7
<proxy::serverless::conn_pool_lib::Client<tokio_postgres::client::Client>>::new
7
>::new
0
>::new
7
<proxy::serverless::conn_pool_lib::ClientInnerCommon<tokio_postgres::client::Client> as core::ops::drop::Drop>::drop
7
as core::ops::drop::Drop>::drop
0
as core::ops::drop::Drop>::drop
7
<proxy::serverless::conn_pool_lib::GlobalConnPool<proxy::serverless::conn_pool::tests::MockClient>>::get_global_connections_count
9
Generated by:
LCOV version 2.1-beta