LCOV - code coverage report
Current view:
top level
-
libs/postgres_ffi/src
- xlog_utils.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
2620485e474b48c32427149a5d91ef8fc2cd649e.info
Lines:
82.7 %
295
244
Test Date:
2025-05-01 22:50:11
Functions:
78.1 %
128
100
Function Name
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::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::bindings::XLogLongPageHeaderData>::encode
5
::encode
0
::encode
0
::encode
0
::encode
5
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode::{closure#0}
5
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
5
postgres_ffi::v14::xlog_utils::generate_wal_segment
5
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
5
<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::IsPartialXLogFileName
10
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
10
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>::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::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>::encode
48
::encode
0
::encode
0
::encode
12
::encode
36
postgres_ffi::v14::xlog_utils::timestamp_conversions::try_from_pg_timestamp
56
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
50
postgres_ffi::v14::xlog_utils::XLogFromFileName
61
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
19
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr
61
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
19
postgres_ffi::v14::xlog_utils::normalize_lsn
84
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
84
postgres_ffi::v14::xlog_utils::XLogFileName
85
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
55
<postgres_ffi::v14::bindings::CheckPoint>::decode
128
::decode
14
::decode
14
::decode
50
::decode
50
postgres_ffi::v14::xlog_utils::IsXLogFileName
146
postgres_ffi::v15::xlog_utils::IsXLogFileName
30
postgres_ffi::v16::xlog_utils::IsXLogFileName
30
postgres_ffi::v17::xlog_utils::IsXLogFileName
41
postgres_ffi::v14::xlog_utils::IsXLogFileName
45
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
231
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
129
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode
783
::encode
0
::encode
0
::encode
80
::encode
703
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0}
783
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
80
::encode::{closure#0}
703
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0}
1944
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}
576
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode
12348
::encode
1
::encode
1
::encode
621
::encode
11725
<postgres_ffi::v14::bindings::XLogRecord>::encode
24696
::encode
2
::encode
2
::encode
1242
::encode
23450
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut>
35313
::from_bytes::
4115
::from_bytes::
4275
::from_bytes::
5433
::from_bytes::
21490
<postgres_ffi::v14::bindings::CheckPoint>::update_next_xid
875020
::update_next_xid
4
::update_next_xid
4
::update_next_xid
4
::update_next_xid
875008
<postgres_ffi::v15::bindings::XLogRecord>::from_bytes::<_>
875718
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::
875718
<postgres_ffi::v14::bindings::XLogRecord>::from_slice
901268
::from_slice
42
::from_slice
1268
::from_slice
24804
::from_slice
875154
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record
901268
::is_xlog_switch_record
42
::is_xlog_switch_record
1268
::is_xlog_switch_record
24804
::is_xlog_switch_record
875154
Generated by:
LCOV version 2.1-beta