LCOV - code coverage report
Current view:
top level
-
libs/postgres_ffi/src
- xlog_utils.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
42f947419473a288706e86ecdf7c2863d760d5d7.info
Lines:
66.4 %
345
229
Test Date:
2024-08-02 21:34:27
Functions:
70.0 %
100
70
Function Name
Hit count
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode
0
::encode
0
::encode
0
::encode
0
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
0
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName
0
postgres_ffi::v14::xlog_utils::IsPartialXLogFileName
0
postgres_ffi::v15::xlog_utils::IsPartialXLogFileName
0
postgres_ffi::v16::xlog_utils::IsPartialXLogFileName
0
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::v14::xlog_utils::generate_wal_segment
0
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::v14::xlog_utils::main
0
postgres_ffi::v14::xlog_utils::main
0
postgres_ffi::v15::xlog_utils::main
0
postgres_ffi::v16::xlog_utils::main
0
postgres_ffi::v14::xlog_utils::normalize_lsn
0
postgres_ffi::v14::xlog_utils::normalize_lsn
0
postgres_ffi::v15::xlog_utils::normalize_lsn
0
postgres_ffi::v16::xlog_utils::normalize_lsn
0
postgres_ffi::v14::xlog_utils::encode_logical_message
6
postgres_ffi::v14::xlog_utils::encode_logical_message
2
postgres_ffi::v15::xlog_utils::encode_logical_message
2
postgres_ffi::v16::xlog_utils::encode_logical_message
2
postgres_ffi::v14::xlog_utils::get_current_timestamp
6
postgres_ffi::v14::xlog_utils::get_current_timestamp
2
postgres_ffi::v15::xlog_utils::get_current_timestamp
2
postgres_ffi::v16::xlog_utils::get_current_timestamp
2
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion
6
postgres_ffi::v14::xlog_utils::tests::test_ts_conversion
2
postgres_ffi::v15::xlog_utils::tests::test_ts_conversion
2
postgres_ffi::v16::xlog_utils::tests::test_ts_conversion
2
<postgres_ffi::v14::bindings::CheckPoint>::encode
8
::encode
0
::encode
0
::encode
8
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut>
12
::from_bytes::
4
::from_bytes::
4
::from_bytes::
4
postgres_ffi::v14::xlog_utils::timestamp_conversions::from_pg_timestamp
12
postgres_ffi::v14::xlog_utils::timestamp_conversions::from_pg_timestamp
4
postgres_ffi::v15::xlog_utils::timestamp_conversions::from_pg_timestamp
4
postgres_ffi::v16::xlog_utils::timestamp_conversions::from_pg_timestamp
4
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp
18
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp
6
postgres_ffi::v15::xlog_utils::timestamp_conversions::to_pg_timestamp
6
postgres_ffi::v16::xlog_utils::timestamp_conversions::to_pg_timestamp
6
<postgres_ffi::v14::bindings::CheckPoint>::decode
26
::decode
4
::decode
4
::decode
18
<postgres_ffi::v14::bindings::CheckPoint>::update_next_multixid
36
::update_next_multixid
12
::update_next_multixid
12
::update_next_multixid
12
postgres_ffi::v14::xlog_utils::find_end_of_wal
48
postgres_ffi::v14::xlog_utils::find_end_of_wal
16
postgres_ffi::v15::xlog_utils::find_end_of_wal
16
postgres_ffi::v16::xlog_utils::find_end_of_wal
16
postgres_ffi::v14::xlog_utils::open_wal_segment
60
postgres_ffi::v14::xlog_utils::open_wal_segment
20
postgres_ffi::v15::xlog_utils::open_wal_segment
20
postgres_ffi::v16::xlog_utils::open_wal_segment
20
postgres_ffi::v14::xlog_utils::XLogFileName
62
postgres_ffi::v15::xlog_utils::XLogFileName
20
postgres_ffi::v16::xlog_utils::XLogFileName
20
postgres_ffi::v14::xlog_utils::XLogFileName
22
postgres_ffi::v14::xlog_utils::XLogFromFileName
84
postgres_ffi::v14::xlog_utils::XLogFromFileName
28
postgres_ffi::v15::xlog_utils::XLogFromFileName
28
postgres_ffi::v16::xlog_utils::XLogFromFileName
28
postgres_ffi::v14::xlog_utils::IsXLogFileName
180
postgres_ffi::v14::xlog_utils::IsXLogFileName
60
postgres_ffi::v15::xlog_utils::IsXLogFileName
60
postgres_ffi::v16::xlog_utils::IsXLogFileName
60
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode
187
::encode
0
::encode
0
::encode
187
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0}
187
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
187
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
208
postgres_ffi::v15::xlog_utils::XLogSegmentsPerXLogId
68
postgres_ffi::v16::xlog_utils::XLogSegmentsPerXLogId
68
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
72
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0}
2736
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0}
912
postgres_ffi::v15::xlog_utils::IsXLogFileName::{closure#0}
912
postgres_ffi::v16::xlog_utils::IsXLogFileName::{closure#0}
912
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut>
27975
::from_bytes::
8230
::from_bytes::
8621
::from_bytes::
11124
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode
33337
::encode
2
::encode
2
::encode
33333
<postgres_ffi::v14::bindings::XLogRecord>::encode
66674
::encode
4
::encode
4
::encode
66666
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr
66746
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr
28
postgres_ffi::v15::xlog_utils::XLogSegNoOffsetToRecPtr
28
postgres_ffi::v16::xlog_utils::XLogSegNoOffsetToRecPtr
66690
<postgres_ffi::v14::bindings::XLogRecord>::from_bytes::<_>
145852
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::
145852
<postgres_ffi::v14::bindings::CheckPoint>::update_next_xid
145858
::update_next_xid
8
::update_next_xid
8
::update_next_xid
145842
<postgres_ffi::v14::bindings::XLogRecord>::from_slice
224728
::from_slice
84
::from_slice
78708
::from_slice
145936
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record
224728
::is_xlog_switch_record
84
::is_xlog_switch_record
78708
::is_xlog_switch_record
145936
Generated by:
LCOV version 2.1-beta