LCOV - code coverage report
Current view: top level - libs/postgres_connection/src - lib.rs (source / functions) Coverage Total Hit
Test: 32f4a56327bc9da697706839ed4836b2a00a408f.info Lines: 95.9 % 194 186
Test Date: 2024-02-07 07:37:29 Functions: 87.2 % 47 41

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 2
postgres_connection::tests_parse_host_port::test_invalid_host::{closure#0} 2
postgres_connection::tests_parse_host_port::test_invalid_port 2
postgres_connection::tests_parse_host_port::test_invalid_port::{closure#0} 2
postgres_connection::tests_parse_host_port::test_ipv6 2
postgres_connection::tests_parse_host_port::test_ipv6::{closure#0} 2
postgres_connection::tests_parse_host_port::test_no_port 2
postgres_connection::tests_parse_host_port::test_no_port::{closure#0} 2
postgres_connection::tests_parse_host_port::test_normal 2
postgres_connection::tests_parse_host_port::test_normal::{closure#0} 2
postgres_connection::tests_pg_connection_config::test_ipv6 2
postgres_connection::tests_pg_connection_config::test_ipv6::{closure#0} 2
postgres_connection::tests_pg_connection_config::test_no_password 2
postgres_connection::tests_pg_connection_config::test_no_password::{closure#0} 2
postgres_connection::tests_pg_connection_config::test_with_options 2
postgres_connection::tests_pg_connection_config::test_with_options::{closure#0} 2
postgres_connection::tests_pg_connection_config::test_with_password 2
postgres_connection::tests_pg_connection_config::test_with_password::{closure#0} 2
<postgres_connection::PgConnectionConfig>::connect_no_tls 6
<postgres_connection::PgConnectionConfig>::connect_no_tls::{closure#0} 6
postgres_connection::tests_pg_connection_config::STUB_HOST::{closure#0} 6
<postgres_connection::PgConnectionConfig as core::fmt::Debug>::fmt::{closure#0} 129
<postgres_connection::PgConnectionConfig>::raw_address 1514
<postgres_connection::PgConnectionConfig>::to_tokio_postgres_config 1712
<postgres_connection::PgConnectionConfig>::port 1741
<postgres_connection::PgConnectionConfig>::host 3465
<postgres_connection::PgConnectionConfig>::to_tokio_postgres_config::{closure#0} 5134
<postgres_connection::PgConnectionConfig as core::fmt::Debug>::fmt 5241
<postgres_connection::PgConnectionConfig as core::clone::Clone>::clone 795476
<postgres_connection::PgConnectionConfig>::set_password 1155122
<postgres_connection::PgConnectionConfig>::extend_options::<_, _> 1155977
::extend_options::<_, _> 0
::extend_options::<[&str; 4], &str> 2
::extend_options::<[alloc::string::String; 1], alloc::string::String> 855
::extend_options::<[alloc::string::String; 3], alloc::string::String> 1155120
<postgres_connection::PgConnectionConfig>::new_host_port 1158851
postgres_connection::parse_host_port::<_> 1159511
postgres_connection::parse_host_port::<_> 0
postgres_connection::parse_host_port::<&alloc::string::String> 4381
postgres_connection::parse_host_port::<&str> 1155130
<postgres_connection::PgConnectionConfig>::extend_options::<_, _>::{closure#0} 3466223
::extend_options::<_, _>::{closure#0} 0
::extend_options::<[&str; 4], &str>::{closure#0} 8
::extend_options::<[alloc::string::String; 1], alloc::string::String>::{closure#0} 855
::extend_options::<[alloc::string::String; 3], alloc::string::String>::{closure#0} 3465360
postgres_connection::parse_host_port::<_>::{closure#0} 5797389
postgres_connection::parse_host_port::<_>::{closure#0} 0
postgres_connection::parse_host_port::<&alloc::string::String>::{closure#0} 21905
postgres_connection::parse_host_port::<&str>::{closure#0} 5775484

Generated by: LCOV version 2.1-beta