LCOV - differential code coverage report
Current view: top level - libs/postgres_ffi/src - xlog_utils.rs (source / functions) Coverage Total Hit UBC CBC
Current: cd44433dd675caa99df17a61b18949c8387e2242.info Lines: 95.6 % 320 306 14 306
Current Date: 2024-01-09 02:06:09 Functions: 75.2 % 109 82 27 82
Baseline: 66c52a629a0f4a503e193045e0df4c77139e344b.info
Baseline Date: 2024-01-08 15:34:46

Function Name Sort by function name TLA Hit count Sort by function hit count
postgres_ffi::v14::xlog_utils::main UBC 0
postgres_ffi::v14::xlog_utils::main UBC 0
postgres_ffi::v15::xlog_utils::main UBC 0
postgres_ffi::v16::xlog_utils::main UBC 0
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion CBC 3
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion CBC 1
postgres_ffi::v15::xlog_utils::tests::test_ts_conversion CBC 1
postgres_ffi::v16::xlog_utils::tests::test_ts_conversion CBC 1
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion::{closure#0} CBC 3
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion::{closure#0} CBC 1
postgres_ffi::v15::xlog_utils::tests::test_ts_conversion::{closure#0} CBC 1
postgres_ffi::v16::xlog_utils::tests::test_ts_conversion::{closure#0} CBC 1
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode CBC 6
::encode CBC 1
::encode CBC 1
::encode CBC 4
postgres_ffi::v14::xlog_utils::encode_logical_message CBC 6
postgres_ffi::v15::xlog_utils::encode_logical_message CBC 1
postgres_ffi::v16::xlog_utils::encode_logical_message CBC 1
postgres_ffi::v14::xlog_utils::encode_logical_message CBC 4
<postgres_ffi::v14::bindings::XLogRecord>::encode CBC 12
::encode CBC 2
::encode CBC 2
::encode CBC 8
<postgres_ffi::v14::xlog_utils::XlLogicalMessage as serde::ser::Serialize>::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding<bincode::config::WithOtherEndian<bincode::config::DefaultOptions, bincode::config::endian::LittleEndian>, bincode::config::int::FixintEncoding>>> CBC 12
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> UBC 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> UBC 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> UBC 0
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> CBC 1
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> CBC 1
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> CBC 1
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> CBC 1
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> CBC 4
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> CBC 4
postgres_ffi::v14::xlog_utils::timestamp_conversions::from_pg_timestamp CBC 16
postgres_ffi::v15::xlog_utils::timestamp_conversions::from_pg_timestamp CBC 2
postgres_ffi::v16::xlog_utils::timestamp_conversions::from_pg_timestamp CBC 2
postgres_ffi::v14::xlog_utils::timestamp_conversions::from_pg_timestamp CBC 12
postgres_ffi::v14::xlog_utils::find_end_of_wal CBC 206
postgres_ffi::v15::xlog_utils::find_end_of_wal CBC 7
postgres_ffi::v16::xlog_utils::find_end_of_wal CBC 7
postgres_ffi::v14::xlog_utils::find_end_of_wal CBC 192
postgres_ffi::v14::xlog_utils::open_wal_segment CBC 235
postgres_ffi::v15::xlog_utils::open_wal_segment CBC 9
postgres_ffi::v16::xlog_utils::open_wal_segment CBC 9
postgres_ffi::v14::xlog_utils::open_wal_segment CBC 217
postgres_ffi::v14::xlog_utils::XLogFromFileName CBC 250
postgres_ffi::v15::xlog_utils::XLogFromFileName CBC 12
postgres_ffi::v16::xlog_utils::XLogFromFileName CBC 12
postgres_ffi::v14::xlog_utils::XLogFromFileName CBC 226
postgres_ffi::v14::xlog_utils::generate_pg_control CBC 557
postgres_ffi::v15::xlog_utils::generate_pg_control UBC 0
postgres_ffi::v16::xlog_utils::generate_pg_control UBC 0
postgres_ffi::v14::xlog_utils::generate_pg_control CBC 557
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode CBC 559
::encode UBC 0
::encode UBC 0
::encode CBC 559
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0} CBC 559
::encode::{closure#0} UBC 0
::encode::{closure#0} UBC 0
::encode::{closure#0} CBC 559
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode CBC 562
::encode UBC 0
::encode UBC 0
::encode CBC 562
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode::{closure#0} CBC 562
::encode::{closure#0} UBC 0
::encode::{closure#0} UBC 0
::encode::{closure#0} CBC 562
postgres_ffi::v14::xlog_utils::generate_wal_segment CBC 562
postgres_ffi::v15::xlog_utils::generate_wal_segment UBC 0
postgres_ffi::v16::xlog_utils::generate_wal_segment UBC 0
postgres_ffi::v14::xlog_utils::generate_wal_segment CBC 562
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr CBC 626
postgres_ffi::v15::xlog_utils::XLogSegNoOffsetToRecPtr CBC 12
postgres_ffi::v16::xlog_utils::XLogSegNoOffsetToRecPtr CBC 12
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr CBC 602
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName CBC 662
postgres_ffi::v15::xlog_utils::IsPartialXLogFileName UBC 0
postgres_ffi::v16::xlog_utils::IsPartialXLogFileName UBC 0
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName CBC 662
postgres_ffi::v14::xlog_utils::IsXLogFileName CBC 957
postgres_ffi::v15::xlog_utils::IsXLogFileName CBC 27
postgres_ffi::v16::xlog_utils::IsXLogFileName CBC 27
postgres_ffi::v14::xlog_utils::IsXLogFileName CBC 903
postgres_ffi::v14::xlog_utils::normalize_lsn CBC 1270
postgres_ffi::v15::xlog_utils::normalize_lsn UBC 0
postgres_ffi::v16::xlog_utils::normalize_lsn UBC 0
postgres_ffi::v14::xlog_utils::normalize_lsn CBC 1270
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut> CBC 1271
::from_bytes:: CBC 2
::from_bytes:: CBC 2
::from_bytes:: CBC 1267
<postgres_ffi::v14::bindings::CheckPoint>::decode CBC 2371
::decode CBC 1
::decode CBC 1
::decode CBC 2369
postgres_ffi::v14::xlog_utils::XLogFileName CBC 5221
postgres_ffi::v15::xlog_utils::XLogFileName CBC 9
postgres_ffi::v16::xlog_utils::XLogFileName CBC 9
postgres_ffi::v14::xlog_utils::XLogFileName CBC 5203
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0} CBC 6360
postgres_ffi::v15::xlog_utils::IsXLogFileName::{closure#0} CBC 408
postgres_ffi::v16::xlog_utils::IsXLogFileName::{closure#0} CBC 408
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0} CBC 5544
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId CBC 10692
postgres_ffi::v15::xlog_utils::XLogSegmentsPerXLogId CBC 30
postgres_ffi::v16::xlog_utils::XLogSegmentsPerXLogId CBC 30
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId CBC 10632
<postgres_ffi::v14::bindings::CheckPoint>::encode CBC 28328
::encode UBC 0
::encode UBC 0
::encode CBC 28328
postgres_ffi::v14::xlog_utils::get_current_timestamp CBC 571794
postgres_ffi::v15::xlog_utils::get_current_timestamp CBC 1
postgres_ffi::v16::xlog_utils::get_current_timestamp CBC 1
postgres_ffi::v14::xlog_utils::get_current_timestamp CBC 571792
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp CBC 572001
postgres_ffi::v15::xlog_utils::timestamp_conversions::to_pg_timestamp CBC 3
postgres_ffi::v16::xlog_utils::timestamp_conversions::to_pg_timestamp CBC 3
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp CBC 571995
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut> CBC 2658586
::from_bytes:: CBC 4114
::from_bytes:: CBC 5562
::from_bytes:: CBC 2648910
<postgres_ffi::v14::bindings::XLogRecord>::from_bytes::<_> CBC 47422616
::from_bytes::<_> UBC 0
::from_bytes::<_> UBC 0
::from_bytes::<_> UBC 0
::from_bytes:: CBC 47422616
<postgres_ffi::v14::bindings::CheckPoint>::update_next_xid CBC 47446672
::update_next_xid CBC 4
::update_next_xid CBC 4
::update_next_xid CBC 47446664
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record CBC 123896198
::is_xlog_switch_record CBC 42
::is_xlog_switch_record CBC 72968
::is_xlog_switch_record CBC 123823188
<postgres_ffi::v14::bindings::XLogRecord>::from_slice CBC 123896199
::from_slice CBC 42
::from_slice CBC 72968
::from_slice CBC 123823189

Generated by: LCOV version 2.1-beta