LCOV - code coverage report
Current view: top level - proxy/src/serverless - conn_pool.rs (source / functions) Coverage Total Hit
Test: f8d8f5b90fa487a9e82c42da223f012f5d4fece7.info Lines: 60.1 % 602 362
Test Date: 2024-09-19 20:36:02 Functions: 32.9 % 82 27

Function Name Sort by function name Hit count Sort by function hit count
<proxy::serverless::conn_pool::Client<_> as core::ops::deref::Deref>::deref 0
<proxy::serverless::conn_pool::Client<_>>::metrics 0
>::metrics 0
>::metrics 0
<proxy::serverless::conn_pool::ConnInfo as core::fmt::Display>::fmt 0
<proxy::serverless::conn_pool::DbUserConnPool<_>>::get_conn_entry 0
>::get_conn_entry 0
>::get_conn_entry 0
<proxy::serverless::conn_pool::Discard<_>>::check_idle 0
>::check_idle 0
>::check_idle 0
<proxy::serverless::conn_pool::EndpointConnPool<_>>::get_conn_entry 0
>::get_conn_entry 0
>::get_conn_entry 0
<proxy::serverless::conn_pool::EndpointConnPool<_>>::get_conn_entry::{closure#0} 0
>::get_conn_entry::{closure#0} 0
>::get_conn_entry::{closure#0} 0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::remove_client 0
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::remove_client::{closure#0} 0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc_worker::<_> 0
>::gc_worker::<_> 0
>::gc_worker::<_>::{closure#0} 0
>::gc_worker:: 0
>::gc_worker::::{closure#0} 0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::get 0
>::get 0
>::get 0
<proxy::serverless::conn_pool::GlobalConnPool<_>>::shutdown 0
>::shutdown 0
>::shutdown 0
<proxy::serverless::conn_pool::GlobalConnPool<tokio_postgres::client::Client>>::get_idle_timeout 0
<proxy::serverless::conn_pool::tests::MockClient as proxy::serverless::conn_pool::ClientInnerExt>::get_process_id 0
<tokio_postgres::client::Client as proxy::serverless::conn_pool::ClientInnerExt>::get_process_id 0
<tokio_postgres::client::Client as proxy::serverless::conn_pool::ClientInnerExt>::is_closed 0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client> 0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#0} 0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1} 0
proxy::serverless::conn_pool::poll_client::<tokio_postgres::client::Client>::{closure#1}::{closure#0} 0
<proxy::serverless::conn_pool::Client<_>>::inner 1
>::inner 0
>::inner 0
>::inner 1
<proxy::serverless::conn_pool::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::DbUserConnPool<_>>::clear_closed_clients 1
>::clear_closed_clients 0
>::clear_closed_clients 0
>::clear_closed_clients 1
<proxy::serverless::conn_pool::Discard<_>>::discard 1
>::discard 0
>::discard 0
>::discard 1
<proxy::serverless::conn_pool::GlobalConnPool<_>>::new 1
>::new 0
>::new 0
>::new 1
<proxy::serverless::conn_pool::ConnInfo>::endpoint_cache_key 2
<proxy::serverless::conn_pool::DbUserConnPool<_>>::clear_closed_clients::{closure#0} 2
>::clear_closed_clients::{closure#0} 0
>::clear_closed_clients::{closure#0} 0
>::clear_closed_clients::{closure#0} 2
<proxy::serverless::conn_pool::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::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::GlobalConnPool<_>>::gc 2
>::gc 0
>::gc 0
>::gc 2
<proxy::serverless::conn_pool::GlobalConnPool<_>>::gc::{closure#0} 2
>::gc::{closure#0} 0
>::gc::{closure#0} 0
>::gc::{closure#0} 2
<proxy::serverless::conn_pool::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::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::tests::test_pool 2
proxy::serverless::conn_pool::tests::test_pool 1
proxy::serverless::conn_pool::tests::test_pool::{closure#0} 1
<proxy::serverless::conn_pool::ConnInfo>::db_and_user 3
proxy::serverless::conn_pool::tests::create_inner 5
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client>>::do_drop::{closure#0} 6
>::do_drop::{closure#0} 0
>::do_drop::{closure#0} 6
<proxy::serverless::conn_pool::EndpointConnPool<tokio_postgres::client::Client>>::put 6
>::put 0
>::put 6
<proxy::serverless::conn_pool::tests::MockClient>::new 6
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client>>::do_drop 7
>::do_drop 0
>::do_drop 7
<proxy::serverless::conn_pool::Client<tokio_postgres::client::Client>>::new 7
>::new 0
>::new 7
<proxy::serverless::conn_pool::ClientInner<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::tests::create_inner_with 7
<proxy::serverless::conn_pool::ClientInner<tokio_postgres::client::Client>>::is_closed 8
>::is_closed 0
>::is_closed 8
<proxy::serverless::conn_pool::tests::MockClient as proxy::serverless::conn_pool::ClientInnerExt>::is_closed 8
<proxy::serverless::conn_pool::GlobalConnPool<proxy::serverless::conn_pool::tests::MockClient>>::get_global_connections_count 9

Generated by: LCOV version 2.1-beta