LCOV - code coverage report
Current view: top level - libs/postgres_connection/src - lib.rs (source / functions) Coverage Total Hit
Test: 8ac049b474321fdc72ddcb56d7165153a1a900e8.info Lines: 95.7 % 184 176
Test Date: 2023-09-06 10:18:01 Functions: 87.0 % 46 40

Function Name Sort by function name Hit count Sort by function hit count
<postgres_connection::PgConnectionConfig>::set_host 0
<postgres_connection::PgConnectionConfig>::set_port 0
postgres_connection::tests_parse_host_port::test_invalid_host 1
postgres_connection::tests_parse_host_port::test_invalid_host::{closure#0} 1
postgres_connection::tests_parse_host_port::test_invalid_port 1
postgres_connection::tests_parse_host_port::test_invalid_port::{closure#0} 1
postgres_connection::tests_parse_host_port::test_ipv6 1
postgres_connection::tests_parse_host_port::test_ipv6::{closure#0} 1
postgres_connection::tests_parse_host_port::test_no_port 1
postgres_connection::tests_parse_host_port::test_no_port::{closure#0} 1
postgres_connection::tests_parse_host_port::test_normal 1
postgres_connection::tests_parse_host_port::test_normal::{closure#0} 1
postgres_connection::tests_pg_connection_config::STUB_HOST::{closure#0} 1
postgres_connection::tests_pg_connection_config::test_ipv6 1
postgres_connection::tests_pg_connection_config::test_ipv6::{closure#0} 1
postgres_connection::tests_pg_connection_config::test_no_password 1
postgres_connection::tests_pg_connection_config::test_no_password::{closure#0} 1
postgres_connection::tests_pg_connection_config::test_with_options 1
postgres_connection::tests_pg_connection_config::test_with_options::{closure#0} 1
postgres_connection::tests_pg_connection_config::test_with_password 1
postgres_connection::tests_pg_connection_config::test_with_password::{closure#0} 1
<postgres_connection::PgConnectionConfig>::connect_no_tls 5
<postgres_connection::PgConnectionConfig as core::fmt::Debug>::fmt::{closure#0} 97
<postgres_connection::PgConnectionConfig>::to_tokio_postgres_config 1228
<postgres_connection::PgConnectionConfig>::raw_address 1465
<postgres_connection::PgConnectionConfig>::port 2132
<postgres_connection::PgConnectionConfig>::host 3366
<postgres_connection::PgConnectionConfig as core::fmt::Debug>::fmt 3681
<postgres_connection::PgConnectionConfig>::to_tokio_postgres_config::{closure#0} 3683
<postgres_connection::PgConnectionConfig as core::clone::Clone>::clone 734167
<postgres_connection::PgConnectionConfig>::set_password 1366042
<postgres_connection::PgConnectionConfig>::extend_options::<_, _> 1366850
::extend_options::<_, _> 0
::extend_options::<[&str; 4], &str> 1
::extend_options::<[alloc::string::String; 1], alloc::string::String> 809
::extend_options::<[alloc::string::String; 3], alloc::string::String> 1366040
postgres_connection::parse_host_port::<_> 1370415
postgres_connection::parse_host_port::<_> 0
postgres_connection::parse_host_port::<&alloc::string::String> 4370
postgres_connection::parse_host_port::<&str> 1366045
<postgres_connection::PgConnectionConfig>::new_host_port 1371479
<postgres_connection::PgConnectionConfig>::extend_options::<_, _>::{closure#0} 4098933
::extend_options::<_, _>::{closure#0} 0
::extend_options::<[&str; 4], &str>::{closure#0} 4
::extend_options::<[alloc::string::String; 1], alloc::string::String>::{closure#0} 809
::extend_options::<[alloc::string::String; 3], alloc::string::String>::{closure#0} 4098120
postgres_connection::parse_host_port::<_>::{closure#0} 6851992
postgres_connection::parse_host_port::<_>::{closure#0} 0
postgres_connection::parse_host_port::<&alloc::string::String>::{closure#0} 21850
postgres_connection::parse_host_port::<&str>::{closure#0} 6830142

Generated by: LCOV version 2.1-beta