LCOV - code coverage report
Current view:
top level
-
libs/postgres_ffi/src
- xlog_utils.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
2a9d99866121f170b43760bd62e1e2431e597707.info
Lines:
66.4 %
345
229
Test Date:
2024-09-02 14:10:37
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
3
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::v14::xlog_utils::get_current_timestamp
3
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::v14::xlog_utils::tests::test_ts_conversion
3
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::v14::bindings::XLogLongPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut>
6
::from_bytes::
2
::from_bytes::
2
::from_bytes::
2
postgres_ffi::v14::xlog_utils::timestamp_conversions::to_pg_timestamp
9
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::v14::bindings::CheckPoint>::update_next_multixid
18
::update_next_multixid
6
::update_next_multixid
6
::update_next_multixid
6
<postgres_ffi::v14::bindings::CheckPoint>::encode
24
::encode
0
::encode
0
::encode
24
postgres_ffi::v14::xlog_utils::find_end_of_wal
24
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::v14::xlog_utils::open_wal_segment
30
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::v14::xlog_utils::timestamp_conversions::try_from_pg_timestamp
30
postgres_ffi::v15::xlog_utils::timestamp_conversions::try_from_pg_timestamp
2
postgres_ffi::v16::xlog_utils::timestamp_conversions::try_from_pg_timestamp
2
postgres_ffi::v14::xlog_utils::timestamp_conversions::try_from_pg_timestamp
26
postgres_ffi::v14::xlog_utils::XLogFileName
36
postgres_ffi::v15::xlog_utils::XLogFileName
10
postgres_ffi::v16::xlog_utils::XLogFileName
10
postgres_ffi::v14::xlog_utils::XLogFileName
16
postgres_ffi::v14::xlog_utils::XLogFromFileName
42
postgres_ffi::v14::xlog_utils::XLogFromFileName
14
postgres_ffi::v15::xlog_utils::XLogFromFileName
14
postgres_ffi::v16::xlog_utils::XLogFromFileName
14
<postgres_ffi::v14::bindings::CheckPoint>::decode
48
::decode
2
::decode
2
::decode
44
postgres_ffi::v14::xlog_utils::IsXLogFileName
90
postgres_ffi::v14::xlog_utils::IsXLogFileName
30
postgres_ffi::v15::xlog_utils::IsXLogFileName
30
postgres_ffi::v16::xlog_utils::IsXLogFileName
30
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode
92
::encode
0
::encode
0
::encode
92
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0}
92
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
92
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
114
postgres_ffi::v15::xlog_utils::XLogSegmentsPerXLogId
34
postgres_ffi::v16::xlog_utils::XLogSegmentsPerXLogId
34
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
46
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0}
1368
postgres_ffi::v14::xlog_utils::IsXLogFileName::{closure#0}
456
postgres_ffi::v15::xlog_utils::IsXLogFileName::{closure#0}
456
postgres_ffi::v16::xlog_utils::IsXLogFileName::{closure#0}
456
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode
16870
::encode
1
::encode
1
::encode
16868
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut>
21233
::from_bytes::
4115
::from_bytes::
4316
::from_bytes::
12802
<postgres_ffi::v14::bindings::XLogRecord>::encode
33740
::encode
2
::encode
2
::encode
33736
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr
33776
postgres_ffi::v14::xlog_utils::XLogSegNoOffsetToRecPtr
14
postgres_ffi::v15::xlog_utils::XLogSegNoOffsetToRecPtr
14
postgres_ffi::v16::xlog_utils::XLogSegNoOffsetToRecPtr
33748
<postgres_ffi::v14::bindings::CheckPoint>::update_next_xid
437514
::update_next_xid
4
::update_next_xid
4
::update_next_xid
437506
<postgres_ffi::v14::bindings::XLogRecord>::from_bytes::<_>
437556
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::
437556
<postgres_ffi::v14::bindings::XLogRecord>::from_slice
476679
::from_slice
42
::from_slice
39039
::from_slice
437598
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record
476679
::is_xlog_switch_record
42
::is_xlog_switch_record
39039
::is_xlog_switch_record
437598
Generated by:
LCOV version 2.1-beta