LCOV - code coverage report
Current view: top level - libs/pq_proto/src - lib.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 86.2 % 589 508
Test Date: 2024-02-14 18:05:35 Functions: 68.2 % 148 101

Function Name Sort by function name Hit count Sort by function hit count
<pq_proto::BeAuthenticationSaslMessage as core::fmt::Debug>::fmt 0
<pq_proto::BeMessage as core::fmt::Debug>::fmt 0
<pq_proto::BeMessage>::write::{closure#10} 0
<pq_proto::BeMessage>::write::{closure#2} 0
<pq_proto::BeParameterStatusMessage as core::fmt::Debug>::fmt 0
<pq_proto::FeBindMessage as core::fmt::Debug>::fmt 0
<pq_proto::FeCloseMessage as core::fmt::Debug>::fmt 0
<pq_proto::FeDescribeMessage as core::fmt::Debug>::fmt 0
<pq_proto::FeExecuteMessage as core::fmt::Debug>::fmt 0
<pq_proto::FeParseMessage as core::fmt::Debug>::fmt 0
<pq_proto::FeStartupPacket>::parse::{closure#0} 0
<pq_proto::FeStartupPacket>::parse::{closure#1} 0
<pq_proto::FeStartupPacket>::parse::{closure#2} 0
<pq_proto::ProtocolError>::into_io_error 0
<pq_proto::RowDescriptor as core::fmt::Debug>::fmt 0
<pq_proto::WalSndKeepAlive as core::fmt::Debug>::fmt 0
<pq_proto::XLogDataBody as core::fmt::Debug>::fmt 0
pq_proto::read_cstr::{closure#1} 0
pq_proto::tests::parse_fe_startup_packet_regression 2
pq_proto::tests::parse_fe_startup_packet_regression::{closure#0} 2
pq_proto::tests::test_startup_message_params_options_escaped 2
<pq_proto::BeMessage>::write::{closure#16} 6
<pq_proto::ProtocolError as core::fmt::Debug>::fmt 6
::fmt 0
::fmt 6
<pq_proto::StartupMessageParams>::parse_options_escaped 8
pq_proto::tests::test_startup_message_params_options_escaped::split_options 8
<pq_proto::StartupMessageParams>::options_escaped 10
pq_proto::tests::test_startup_message_params_options_escaped::{closure#0} 10
<pq_proto::BeMessage>::write::{closure#11} 14
<pq_proto::StartupMessageParams>::iter 14
<pq_proto::StartupMessageParams>::parse_options_escaped::{closure#0} 14
<pq_proto::StartupMessageParams>::parse_options_escaped::{closure#0}::{closure#0} 34
<pq_proto::BeMessage>::write::{closure#4} 41
<pq_proto::StartupMessageParams>::iter::{closure#0} 42
<rand::distributions::Standard as rand::distributions::distribution::Distribution<pq_proto::CancelKeyData>>::sample::<_> 43
>::sample::<_> 0
>::sample:: 43
<pq_proto::RowDescriptor>::int8_col 45
<pq_proto::FeMessage as core::fmt::Debug>::fmt 46
<pq_proto::StartupMessageParams>::new::<0> 46
::new::<_> 0
::new::<0> 2
::new::<3> 2
::new::<2> 14
::new::<1> 28
<pq_proto::StartupMessageParams>::new::<0>::{closure#0} 62
::new::<0>::{closure#0} 0
::new::<_>::{closure#0} 0
::new::<3>::{closure#0} 6
::new::<1>::{closure#0} 28
::new::<2>::{closure#0} 28
<pq_proto::StartupMessageParams as core::fmt::Debug>::fmt 126
<pq_proto::CancelKeyData as core::fmt::Display>::fmt 164
<pq_proto::BeMessage>::write::{closure#3} 168
<pq_proto::BeMessage>::write::{closure#15} 197
pq_proto::terminate_code 203
<pq_proto::BeMessage>::write::{closure#1} 219
<pq_proto::FeStartupPacket as core::fmt::Debug>::fmt 230
<pq_proto::CancelKeyData as core::fmt::Debug>::fmt 462
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64:: 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde::de::value::MapDeserializer, serde::__private::de::content::visit_content_map<::deserialize::__Visitor, serde_json::error::Error>::{closure#0}>, serde_json::error::Error>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde::de::value::SeqDeserializer, >::new>, serde_json::error::Error>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::fmt 0
::hash::<_> 0
::deserialize::<_> 0
::deserialize::> 0
::deserialize::> 0
::serialize::<_> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 4
::deserialize::<&mut serde_json::de::Deserializer> 4
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 4
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 8
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 8
::eq 133
::hash:: 301
<pq_proto::BeMessage>::write::{closure#9} 595
<pq_proto::BeMessage>::write::{closure#12} 607
<pq_proto::BeMessage>::write::{closure#6} 629
<pq_proto::FeCloseMessage>::parse 629
<pq_proto::BeMessage>::write::{closure#17} 630
<pq_proto::BeMessage>::write::{closure#19} 630
<pq_proto::BeMessage>::write::{closure#20} 630
<pq_proto::BeMessage>::write::{closure#5} 630
<pq_proto::FeBindMessage>::parse 630
<pq_proto::FeDescribeMessage>::parse 630
<pq_proto::FeExecuteMessage>::parse 630
<pq_proto::FeParseMessage>::parse 630
<pq_proto::BeMessage>::write::{closure#14} 982
<pq_proto::RowDescriptor>::text_col 1342
<pq_proto::BeMessage>::write::{closure#22} 1456
<pq_proto::BeMessage>::write::{closure#7} 2093
<pq_proto::RowDescriptor as core::default::Default>::default 3091
<pq_proto::BeMessage>::write::{closure#24} 3504
<pq_proto::StartupMessageParams>::options_raw 3510
<pq_proto::StartupMessageParams>::parse_options_raw 3514
<pq_proto::StartupMessageParams>::get::{closure#0} 4496
<pq_proto::StartupMessageParams>::get 7242
<pq_proto::StartupMessageParams>::parse_options_raw::{closure#1} 10393
<pq_proto::BeMessage>::write::{closure#13} 12540
<pq_proto::BeMessage>::server_version 13719
<pq_proto::BeMessage>::write::{closure#0} 13984
<pq_proto::BeMessage>::write::{closure#21} 29314
<pq_proto::BeMessage>::write::{closure#18} 41917
<pq_proto::FeStartupPacket>::parse 52036
pq_proto::write_cstr::<&&str> 90737
pq_proto::write_cstr::<&&str> 323
pq_proto::write_cstr::<&[u8]> 4487
pq_proto::write_cstr::<&&[u8]> 85927
<pq_proto::StartupMessageParams>::parse_options_raw::{closure#0} 304287
<pq_proto::BeMessage>::write::{closure#23} 754616
pq_proto::read_cstr 3764746
<pq_proto::BeMessage>::write::{closure#8} 6963135
pq_proto::write_body::<(), <pq_proto::BeMessage>::write::{closure#0}> 7828537
pq_proto::write_body::<(), ::write::{closure#10}> 0
pq_proto::write_body::<(), ::write::{closure#2}> 0
pq_proto::write_body::, ::write::{closure#16}> 6
pq_proto::write_body::<(), ::write::{closure#11}> 14
pq_proto::write_body::<(), ::write::{closure#4}> 41
pq_proto::write_body::, ::write::{closure#3}> 168
pq_proto::write_body::, ::write::{closure#15}> 197
pq_proto::write_body::<(), ::write::{closure#1}> 219
pq_proto::write_body::<(), ::write::{closure#9}> 595
pq_proto::write_body::<(), ::write::{closure#12}> 607
pq_proto::write_body::<(), ::write::{closure#6}> 629
pq_proto::write_body::<(), ::write::{closure#17}> 630
pq_proto::write_body::<(), ::write::{closure#19}> 630
pq_proto::write_body::<(), ::write::{closure#20}> 630
pq_proto::write_body::<(), ::write::{closure#5}> 630
pq_proto::write_body::<(), ::write::{closure#14}> 982
pq_proto::write_body::, ::write::{closure#22}> 1456
pq_proto::write_body::, ::write::{closure#7}> 2093
pq_proto::write_body::<(), ::write::{closure#24}> 3504
pq_proto::write_body::<(), ::write::{closure#13}> 12540
pq_proto::write_body::<(), ::write::{closure#0}> 13984
pq_proto::write_body::<(), ::write::{closure#21}> 29314
pq_proto::write_body::, ::write::{closure#18}> 41917
pq_proto::write_body::<(), ::write::{closure#23}> 754616
pq_proto::write_body::<(), ::write::{closure#8}> 6963135
<pq_proto::BeMessage>::write 7840511
<pq_proto::FeMessage>::parse 14509451
pq_proto::read_cstr::{closure#0} 53457811

Generated by: LCOV version 2.1-beta