LCOV - code coverage report
Current view: top level - libs/postgres_ffi/src - xlog_utils.rs (source / functions) Coverage Total Hit
Test: 07bee600374ccd486c69370d0972d9035964fe68.info Lines: 82.7 % 295 244
Test Date: 2025-02-20 13:11:02 Functions: 78.1 % 128 100

Function Name Sort by function name Hit count Sort by function hit count
postgres_ffi::v14::xlog_utils::generate_pg_control 0
postgres_ffi::v14::xlog_utils::generate_pg_control 0
postgres_ffi::v15::xlog_utils::generate_pg_control 0
postgres_ffi::v16::xlog_utils::generate_pg_control 0
postgres_ffi::v17::xlog_utils::generate_pg_control 0
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode 3
::encode 0
::encode 0
::encode 0
::encode 3
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode::{closure#0} 3
::encode::{closure#0} 0
::encode::{closure#0} 0
::encode::{closure#0} 0
::encode::{closure#0} 3
postgres_ffi::v14::xlog_utils::generate_wal_segment 3
postgres_ffi::v14::xlog_utils::generate_wal_segment 0
postgres_ffi::v15::xlog_utils::generate_wal_segment 0
postgres_ffi::v16::xlog_utils::generate_wal_segment 0
postgres_ffi::v17::xlog_utils::generate_wal_segment 3
postgres_ffi::v14::xlog_utils::encode_logical_message 4
postgres_ffi::v14::xlog_utils::encode_logical_message 1
postgres_ffi::v15::xlog_utils::encode_logical_message 1
postgres_ffi::v16::xlog_utils::encode_logical_message 1
postgres_ffi::v17::xlog_utils::encode_logical_message 1
postgres_ffi::v14::xlog_utils::get_current_timestamp 4
postgres_ffi::v14::xlog_utils::get_current_timestamp 1
postgres_ffi::v15::xlog_utils::get_current_timestamp 1
postgres_ffi::v16::xlog_utils::get_current_timestamp 1
postgres_ffi::v17::xlog_utils::get_current_timestamp 1
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion 4
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion 1
postgres_ffi::v15::xlog_utils::tests::test_ts_conversion 1
postgres_ffi::v16::xlog_utils::tests::test_ts_conversion 1
postgres_ffi::v17::xlog_utils::tests::test_ts_conversion 1
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName 6
postgres_ffi::v15::xlog_utils::IsPartialXLogFileName 0
postgres_ffi::v16::xlog_utils::IsPartialXLogFileName 0
postgres_ffi::v17::xlog_utils::IsPartialXLogFileName 0
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName 6
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut> 8
::from_bytes:: 2
::from_bytes:: 2
::from_bytes:: 2
::from_bytes:: 2
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp 12
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp 3
postgres_ffi::v15::xlog_utils::timestamp_conversions::to_pg_timestamp 3
postgres_ffi::v16::xlog_utils::timestamp_conversions::to_pg_timestamp 3
postgres_ffi::v17::xlog_utils::timestamp_conversions::to_pg_timestamp 3
<postgres_ffi::v14::bindings::CheckPoint>::encode 16
::encode 0
::encode 0
::encode 4
::encode 12
<postgres_ffi::v14::bindings::CheckPoint>::update_next_multixid 24
::update_next_multixid 6
::update_next_multixid 6
::update_next_multixid 6
::update_next_multixid 6
postgres_ffi::v14::xlog_utils::timestamp_conversions::try_from_pg_timestamp 24
postgres_ffi::v14::xlog_utils::timestamp_conversions::try_from_pg_timestamp 2
postgres_ffi::v16::xlog_utils::timestamp_conversions::try_from_pg_timestamp 2
postgres_ffi::v17::xlog_utils::timestamp_conversions::try_from_pg_timestamp 2
postgres_ffi::v15::xlog_utils::timestamp_conversions::try_from_pg_timestamp 18
postgres_ffi::v14::xlog_utils::normalize_lsn 28
postgres_ffi::v15::xlog_utils::normalize_lsn 0
postgres_ffi::v16::xlog_utils::normalize_lsn 0
postgres_ffi::v17::xlog_utils::normalize_lsn 0
postgres_ffi::v14::xlog_utils::normalize_lsn 28
postgres_ffi::v14::xlog_utils::find_end_of_wal 32
postgres_ffi::v14::xlog_utils::find_end_of_wal 8
postgres_ffi::v15::xlog_utils::find_end_of_wal 8
postgres_ffi::v16::xlog_utils::find_end_of_wal 8
postgres_ffi::v17::xlog_utils::find_end_of_wal 8
postgres_ffi::v14::xlog_utils::open_wal_segment 40
postgres_ffi::v14::xlog_utils::open_wal_segment 10
postgres_ffi::v15::xlog_utils::open_wal_segment 10
postgres_ffi::v16::xlog_utils::open_wal_segment 10
postgres_ffi::v17::xlog_utils::open_wal_segment 10
<postgres_ffi::v14::bindings::CheckPoint>::decode 48
::decode 2
::decode 6
::decode 18
::decode 22
postgres_ffi::v14::xlog_utils::XLogFromFileName 59
postgres_ffi::v15::xlog_utils::XLogFromFileName 14
postgres_ffi::v16::xlog_utils::XLogFromFileName 14
postgres_ffi::v17::xlog_utils::XLogFromFileName 14
postgres_ffi::v14::xlog_utils::XLogFromFileName 17
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr 59
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr 14
postgres_ffi::v15::xlog_utils::XLogSegNoOffsetToRecPtr 14
postgres_ffi::v16::xlog_utils::XLogSegNoOffsetToRecPtr 14
postgres_ffi::v17::xlog_utils::XLogSegNoOffsetToRecPtr 17
postgres_ffi::v14::xlog_utils::XLogFileName 63
postgres_ffi::v15::xlog_utils::XLogFileName 10
postgres_ffi::v16::xlog_utils::XLogFileName 10
postgres_ffi::v17::xlog_utils::XLogFileName 10
postgres_ffi::v14::xlog_utils::XLogFileName 33
postgres_ffi::v14::xlog_utils::IsXLogFileName 140
postgres_ffi::v15::xlog_utils::IsXLogFileName 30
postgres_ffi::v16::xlog_utils::IsXLogFileName 30
postgres_ffi::v14::xlog_utils::IsXLogFileName 39
postgres_ffi::v17::xlog_utils::IsXLogFileName 41
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId 185
postgres_ffi::v15::xlog_utils::XLogSegmentsPerXLogId 34
postgres_ffi::v16::xlog_utils::XLogSegmentsPerXLogId 34
postgres_ffi::v17::xlog_utils::XLogSegmentsPerXLogId 34
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId 83
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode 689
::encode 0
::encode 0
::encode 80
::encode 609
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0} 689
::encode::{closure#0} 0
::encode::{closure#0} 0
::encode::{closure#0} 80
::encode::{closure#0} 609
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0} 1896
postgres_ffi::v15::xlog_utils::IsXLogFileName::{closure#0} 456
postgres_ffi::v16::xlog_utils::IsXLogFileName::{closure#0} 456
postgres_ffi::v17::xlog_utils::IsXLogFileName::{closure#0} 456
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0} 528
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode 11927
::encode 1
::encode 1
::encode 601
::encode 11324
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut> 23616
::from_bytes:: 4115
::from_bytes:: 4273
::from_bytes:: 5322
::from_bytes:: 9906
<postgres_ffi::v14::bindings::XLogRecord>::encode 23854
::encode 2
::encode 2
::encode 1202
::encode 22648
<postgres_ffi::v14::bindings::CheckPoint>::update_next_xid 291684
::update_next_xid 4
::update_next_xid 4
::update_next_xid 4
::update_next_xid 291672
<postgres_ffi::v15::bindings::XLogRecord>::from_bytes::<_> 292300
::from_bytes::<_> 0
::from_bytes::<_> 0
::from_bytes::<_> 0
::from_bytes:: 292300
<postgres_ffi::v14::bindings::XLogRecord>::from_slice 316737
::from_slice 42
::from_slice 1238
::from_slice 23711
::from_slice 291746
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record 316737
::is_xlog_switch_record 42
::is_xlog_switch_record 1238
::is_xlog_switch_record 23711
::is_xlog_switch_record 291746

Generated by: LCOV version 2.1-beta