LCOV - differential code coverage report
Current view: top level - libs/postgres_ffi/src - xlog_utils.rs (source / functions) Coverage Total Hit LBC UIC UBC GBC GIC CBC EUB ECB
Current: f6946e90941b557c917ac98cd5a7e9506d180f3e.info Lines: 95.6 % 321 307 10 4 10 97 200 4 80
Current Date: 2023-10-19 02:04:12 Functions: 75.2 % 109 82 21 6 2 58 22 23 47
Baseline: c8637f37369098875162f194f92736355783b050.info
Baseline Date: 2023-10-18 20:25:20

Function Name Sort by function name TLA Hit count Sort by function hit count
postgres_ffi::v14::xlog_utils::main UIC 0
postgres_ffi::v14::xlog_utils::main UIC 0
postgres_ffi::v15::xlog_utils::main UIC 0
postgres_ffi::v16::xlog_utils::main UIC 0
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion GIC 3
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion GIC 1
postgres_ffi::v15::xlog_utils::tests::test_ts_conversion GIC 1
postgres_ffi::v16::xlog_utils::tests::test_ts_conversion GIC 1
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion::{closure#0} GIC 3
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion::{closure#0} GIC 1
postgres_ffi::v15::xlog_utils::tests::test_ts_conversion::{closure#0} GIC 1
postgres_ffi::v16::xlog_utils::tests::test_ts_conversion::{closure#0} GIC 1
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode GIC 6
::encode GIC 1
::encode GIC 1
::encode GIC 4
postgres_ffi::v14::xlog_utils::encode_logical_message GIC 6
postgres_ffi::v15::xlog_utils::encode_logical_message GIC 1
postgres_ffi::v16::xlog_utils::encode_logical_message GIC 1
postgres_ffi::v14::xlog_utils::encode_logical_message GIC 4
<postgres_ffi::v14::bindings::XLogRecord>::encode ECB 12
::encode ECB 2
::encode ECB 2
::encode ECB 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>>> ECB 12
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> EUB 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> EUB 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> EUB 0
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> ECB 1
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> ECB 1
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> ECB 1
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> ECB 1
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> ECB 4
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> ECB 4
postgres_ffi::v14::xlog_utils::timestamp_conversions::from_pg_timestamp GIC 16
postgres_ffi::v15::xlog_utils::timestamp_conversions::from_pg_timestamp GIC 2
postgres_ffi::v16::xlog_utils::timestamp_conversions::from_pg_timestamp GIC 2
postgres_ffi::v14::xlog_utils::timestamp_conversions::from_pg_timestamp GIC 12
postgres_ffi::v14::xlog_utils::find_end_of_wal GIC 115
postgres_ffi::v15::xlog_utils::find_end_of_wal GIC 7
postgres_ffi::v16::xlog_utils::find_end_of_wal GIC 7
postgres_ffi::v14::xlog_utils::find_end_of_wal GIC 101
postgres_ffi::v14::xlog_utils::open_wal_segment GBC 146
postgres_ffi::v14::xlog_utils::main EUB 0
postgres_ffi::v15::xlog_utils::main EUB 0
postgres_ffi::v16::xlog_utils::main EUB 0
postgres_ffi::v15::xlog_utils::open_wal_segment GIC 9
postgres_ffi::v16::xlog_utils::open_wal_segment GIC 9
postgres_ffi::v14::xlog_utils::open_wal_segment GIC 128
postgres_ffi::v14::xlog_utils::XLogFromFileName CBC 316
postgres_ffi::v15::xlog_utils::XLogFromFileName CBC 12
postgres_ffi::v16::xlog_utils::XLogFromFileName CBC 12
postgres_ffi::v14::xlog_utils::XLogFromFileName CBC 292
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode ECB 635
::encode EUB 0
::encode EUB 0
::encode ECB 635
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0} ECB 635
::encode::{closure#0} EUB 0
::encode::{closure#0} EUB 0
::encode::{closure#0} ECB 635
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode ECB 638
::encode EUB 0
::encode EUB 0
::encode ECB 638
postgres_ffi::v14::xlog_utils::generate_pg_control CBC 638
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 638
postgres_ffi::v14::xlog_utils::generate_wal_segment ECB 638
postgres_ffi::v15::xlog_utils::generate_wal_segment EUB 0
postgres_ffi::v16::xlog_utils::generate_wal_segment EUB 0
postgres_ffi::v14::xlog_utils::generate_wal_segment ECB 638
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode::{closure#0} GIC 641
::encode::{closure#0} UIC 0
::encode::{closure#0} UIC 0
::encode::{closure#0} GIC 641
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr CBC 719
postgres_ffi::v15::xlog_utils::XLogSegNoOffsetToRecPtr CBC 12
postgres_ffi::v16::xlog_utils::XLogSegNoOffsetToRecPtr CBC 12
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr CBC 695
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName CBC 736
postgres_ffi::v15::xlog_utils::IsPartialXLogFileName UBC 0
postgres_ffi::v16::xlog_utils::IsPartialXLogFileName UBC 0
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName CBC 736
postgres_ffi::v14::xlog_utils::IsXLogFileName CBC 1097
postgres_ffi::v15::xlog_utils::IsXLogFileName CBC 27
postgres_ffi::v16::xlog_utils::IsXLogFileName CBC 27
postgres_ffi::v14::xlog_utils::IsXLogFileName CBC 1043
postgres_ffi::v14::xlog_utils::normalize_lsn CBC 1317
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 1317
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut> ECB 1481
::from_bytes:: ECB 2
::from_bytes:: ECB 2
::from_bytes:: ECB 1477
<postgres_ffi::v14::bindings::CheckPoint>::decode GIC 2523
::decode GIC 1
::decode GIC 1
::decode GIC 2521
postgres_ffi::v14::xlog_utils::XLogFileName CBC 5439
postgres_ffi::v15::xlog_utils::XLogFileName CBC 9
postgres_ffi::v16::xlog_utils::XLogFileName CBC 9
postgres_ffi::v14::xlog_utils::XLogFileName CBC 5421
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0} CBC 7944
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 7128
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId CBC 11194
postgres_ffi::v15::xlog_utils::XLogSegmentsPerXLogId CBC 30
postgres_ffi::v16::xlog_utils::XLogSegmentsPerXLogId CBC 30
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId CBC 11134
<postgres_ffi::v14::bindings::CheckPoint>::encode GIC 28619
::encode UIC 0
::encode UIC 0
::encode GIC 28619
postgres_ffi::v14::xlog_utils::get_current_timestamp CBC 785583
postgres_ffi::v15::xlog_utils::get_current_timestamp GBC 1
postgres_ffi::v16::xlog_utils::get_current_timestamp GBC 1
postgres_ffi::v14::xlog_utils::get_current_timestamp CBC 785581
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp GIC 785784
postgres_ffi::v15::xlog_utils::timestamp_conversions::to_pg_timestamp GIC 3
postgres_ffi::v16::xlog_utils::timestamp_conversions::to_pg_timestamp GIC 3
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp GIC 785778
postgres_ffi::v14::xlog_utils::to_pg_timestamp ECB 822562
postgres_ffi::v15::xlog_utils::to_pg_timestamp EUB 0
postgres_ffi::v16::xlog_utils::to_pg_timestamp EUB 0
postgres_ffi::v14::xlog_utils::to_pg_timestamp ECB 822562
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut> ECB 3098110
::from_bytes:: ECB 4114
::from_bytes:: ECB 4114
::from_bytes:: ECB 3089882
<postgres_ffi::v14::bindings::XLogRecord>::from_bytes::<_> ECB 68237203
::from_bytes::<_> EUB 0
::from_bytes::<_> EUB 0
::from_bytes::<_> EUB 0
::from_bytes:: ECB 68237203
<postgres_ffi::v14::bindings::CheckPoint>::update_next_xid GIC 68613496
::update_next_xid GIC 4
::update_next_xid GIC 4
::update_next_xid GIC 68613488
<postgres_ffi::v14::bindings::XLogRecord>::from_slice GIC 168851349
::from_slice GIC 42
::from_slice GIC 42
::from_slice GIC 168851265
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record GIC 168851349
::is_xlog_switch_record GIC 42
::is_xlog_switch_record GIC 42
::is_xlog_switch_record GIC 168851265

Generated by: LCOV version 2.1-beta