LCOV - code coverage report
Current view: top level - libs/postgres_connection/src - lib.rs (source / functions) Coverage Total Hit
Test: 2aa98e37cd3250b9a68c97ef6050b16fe702ab33.info Lines: 86.2 % 188 162
Test Date: 2024-08-29 11:33:10 Functions: 71.1 % 38 27

Function Name Sort by function name Hit count Sort by function hit count
<postgres_connection::PgConnectionConfig as core::fmt::Debug>::fmt 18
<postgres_connection::PgConnectionConfig as core::fmt::Debug>::fmt::{closure#0} 6
<postgres_connection::PgConnectionConfig as core::fmt::Display>::fmt 0
<postgres_connection::PgConnectionConfig>::connect_no_tls 0
<postgres_connection::PgConnectionConfig>::connect_no_tls::{closure#0} 0
<postgres_connection::PgConnectionConfig>::extend_options::<_, _> 96
::extend_options::<[&str; 4], &str> 6
::extend_options::<[alloc::string::String; 1], alloc::string::String> 12
::extend_options::<[alloc::string::String; 3], alloc::string::String> 78
::extend_options::<_, _> 0
<postgres_connection::PgConnectionConfig>::extend_options::<_, _>::{closure#0} 270
::extend_options::<[&str; 4], &str>::{closure#0} 24
::extend_options::<[alloc::string::String; 1], alloc::string::String>::{closure#0} 12
::extend_options::<[alloc::string::String; 3], alloc::string::String>::{closure#0} 234
::extend_options::<_, _>::{closure#0} 0
<postgres_connection::PgConnectionConfig>::host 90
<postgres_connection::PgConnectionConfig>::new_host_port 102
<postgres_connection::PgConnectionConfig>::port 48
<postgres_connection::PgConnectionConfig>::raw_address 24
<postgres_connection::PgConnectionConfig>::set_host 0
<postgres_connection::PgConnectionConfig>::set_password 84
<postgres_connection::PgConnectionConfig>::set_port 0
<postgres_connection::PgConnectionConfig>::to_tokio_postgres_config 6
<postgres_connection::PgConnectionConfig>::to_tokio_postgres_config::{closure#0} 24
postgres_connection::parse_host_port::<_> 108
postgres_connection::parse_host_port::<&alloc::string::String> 0
postgres_connection::parse_host_port::<&str> 108
postgres_connection::parse_host_port::<_> 0
postgres_connection::parse_host_port::<_>::{closure#0} 42
postgres_connection::parse_host_port::<&alloc::string::String>::{closure#0} 0
postgres_connection::parse_host_port::<&str>::{closure#0} 42
postgres_connection::parse_host_port::<_>::{closure#0} 0
postgres_connection::tests_parse_host_port::test_invalid_host 6
postgres_connection::tests_parse_host_port::test_invalid_port 6
postgres_connection::tests_parse_host_port::test_ipv6 6
postgres_connection::tests_parse_host_port::test_no_port 6
postgres_connection::tests_parse_host_port::test_normal 6
postgres_connection::tests_pg_connection_config::STUB_HOST::{closure#0} 18
postgres_connection::tests_pg_connection_config::test_ipv6 6
postgres_connection::tests_pg_connection_config::test_no_password 6
postgres_connection::tests_pg_connection_config::test_with_options 6
postgres_connection::tests_pg_connection_config::test_with_password 6

Generated by: LCOV version 2.1-beta