LCOV - code coverage report
Current view: top level - libs/pq_proto/src - lib.rs (source / functions) Coverage Total Hit
Test: 49aa928ec5b4b510172d8b5c6d154da28e70a46c.info Lines: 52.6 % 595 313
Test Date: 2024-11-13 18:23:39 Functions: 45.5 % 121 55

Function Name Sort by function name Hit count Sort by function hit count
<<pq_proto::CancelKeyData as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 10
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 4
<::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_str:: 4
<::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_map::> 2
<::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
<pq_proto::BeMessage>::server_version 2
<pq_proto::BeMessage>::write 96
<pq_proto::BeMessage>::write::{closure#0} 12
<pq_proto::BeMessage>::write::{closure#10} 0
<pq_proto::BeMessage>::write::{closure#11} 0
<pq_proto::BeMessage>::write::{closure#12} 0
<pq_proto::BeMessage>::write::{closure#13} 0
<pq_proto::BeMessage>::write::{closure#14} 2
<pq_proto::BeMessage>::write::{closure#15} 1
<pq_proto::BeMessage>::write::{closure#16} 0
<pq_proto::BeMessage>::write::{closure#17} 0
<pq_proto::BeMessage>::write::{closure#18} 13
<pq_proto::BeMessage>::write::{closure#19} 0
<pq_proto::BeMessage>::write::{closure#1} 2
<pq_proto::BeMessage>::write::{closure#20} 0
<pq_proto::BeMessage>::write::{closure#21} 11
<pq_proto::BeMessage>::write::{closure#22} 2
<pq_proto::BeMessage>::write::{closure#23} 0
<pq_proto::BeMessage>::write::{closure#24} 0
<pq_proto::BeMessage>::write::{closure#25} 0
<pq_proto::BeMessage>::write::{closure#2} 0
<pq_proto::BeMessage>::write::{closure#3} 30
<pq_proto::BeMessage>::write::{closure#4} 0
<pq_proto::BeMessage>::write::{closure#5} 0
<pq_proto::BeMessage>::write::{closure#6} 0
<pq_proto::BeMessage>::write::{closure#7} 2
<pq_proto::BeMessage>::write::{closure#8} 0
<pq_proto::BeMessage>::write::{closure#9} 0
<pq_proto::CancelKeyData as core::fmt::Display>::fmt 0
<pq_proto::FeBindMessage>::parse 0
<pq_proto::FeCloseMessage>::parse 0
<pq_proto::FeDescribeMessage>::parse 0
<pq_proto::FeExecuteMessage>::parse 0
<pq_proto::FeMessage>::parse 57
<pq_proto::FeParseMessage>::parse 0
<pq_proto::FeStartupPacket>::parse 91
<pq_proto::FeStartupPacket>::parse::{closure#0} 0
<pq_proto::FeStartupPacket>::parse::{closure#1} 0
<pq_proto::ProtocolError as core::fmt::Display>::fmt 0
<pq_proto::ProtocolError>::into_io_error 0
<pq_proto::ProtocolVersion as core::fmt::Debug>::fmt 0
<pq_proto::ProtocolVersion>::major 24
<pq_proto::ProtocolVersion>::minor 0
<pq_proto::ProtocolVersion>::new 0
<pq_proto::RowDescriptor as core::default::Default>::default 0
<pq_proto::RowDescriptor>::int8_col 0
<pq_proto::RowDescriptor>::text_col 2
<pq_proto::StartupMessageParams>::get 48
<pq_proto::StartupMessageParams>::get::{closure#0} 64
<pq_proto::StartupMessageParams>::iter 55
<pq_proto::StartupMessageParams>::new::<0> 23
::new::<0> 1
::new::<1> 14
::new::<2> 7
::new::<3> 1
::new::<_> 0
<pq_proto::StartupMessageParams>::options_escaped 5
<pq_proto::StartupMessageParams>::options_raw 30
<pq_proto::StartupMessageParams>::parse_options_escaped 4
<pq_proto::StartupMessageParams>::parse_options_escaped::{closure#0} 7
<pq_proto::StartupMessageParams>::parse_options_escaped::{closure#0}::{closure#0} 17
<pq_proto::StartupMessageParams>::parse_options_raw 30
<pq_proto::StartupMessageParams>::parse_options_raw::{closure#0} 564
<pq_proto::StartupMessageParams>::parse_options_raw::{closure#1} 76
<pq_proto::StartupMessageParamsBuilder>::freeze 23
<pq_proto::StartupMessageParamsBuilder>::insert 31
<rand::distributions::Standard as rand::distributions::distribution::Distribution<pq_proto::CancelKeyData>>::sample::<_> 1
>::sample::<_> 0
>::sample:: 1
pq_proto::read_cstr 11
pq_proto::read_cstr::{closure#0} 156
pq_proto::read_cstr::{closure#1} 0
pq_proto::terminate_code 1
pq_proto::tests::parse_fe_startup_packet_regression 1
pq_proto::tests::test_startup_message_params_options_escaped 1
pq_proto::tests::test_startup_message_params_options_escaped::split_options 4
pq_proto::tests::test_startup_message_params_options_escaped::{closure#0} 4
pq_proto::write_body::<(), <pq_proto::BeMessage>::write::{closure#0}> 75
pq_proto::write_body::<(), ::write::{closure#0}> 12
pq_proto::write_body::<(), ::write::{closure#10}> 0
pq_proto::write_body::<(), ::write::{closure#11}> 0
pq_proto::write_body::<(), ::write::{closure#12}> 0
pq_proto::write_body::<(), ::write::{closure#13}> 0
pq_proto::write_body::<(), ::write::{closure#14}> 2
pq_proto::write_body::<(), ::write::{closure#17}> 0
pq_proto::write_body::<(), ::write::{closure#19}> 0
pq_proto::write_body::<(), ::write::{closure#1}> 2
pq_proto::write_body::<(), ::write::{closure#20}> 0
pq_proto::write_body::<(), ::write::{closure#21}> 11
pq_proto::write_body::<(), ::write::{closure#23}> 0
pq_proto::write_body::<(), ::write::{closure#24}> 0
pq_proto::write_body::<(), ::write::{closure#2}> 0
pq_proto::write_body::<(), ::write::{closure#4}> 0
pq_proto::write_body::<(), ::write::{closure#5}> 0
pq_proto::write_body::<(), ::write::{closure#6}> 0
pq_proto::write_body::<(), ::write::{closure#8}> 0
pq_proto::write_body::<(), ::write::{closure#9}> 0
pq_proto::write_body::, ::write::{closure#15}> 1
pq_proto::write_body::, ::write::{closure#16}> 0
pq_proto::write_body::, ::write::{closure#18}> 13
pq_proto::write_body::, ::write::{closure#22}> 2
pq_proto::write_body::, ::write::{closure#25}> 0
pq_proto::write_body::, ::write::{closure#3}> 30
pq_proto::write_body::, ::write::{closure#7}> 2
pq_proto::write_cstr::<&&str> 56
pq_proto::write_cstr::<&&[u8]> 28
pq_proto::write_cstr::<&&str> 26
pq_proto::write_cstr::<&[u8]> 2

Generated by: LCOV version 2.1-beta