LCOV - code coverage report
Current view:
top level
-
libs/postgres_ffi/src
- xlog_utils.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
6fa910d1c9aea142e54ede6987809ef55544c500.info
Lines:
62.9 %
291
183
Test Date:
2024-11-19 23:07:42
Functions:
73.4 %
128
94
Function Name
Hit count
<postgres_ffi::v14::bindings::CheckPoint>::decode
28
::decode
4
::decode
10
::decode
12
::decode
2
<postgres_ffi::v14::bindings::CheckPoint>::encode
8
::encode
2
::encode
6
::encode
0
::encode
0
<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::bindings::CheckPoint>::update_next_xid
145850
::update_next_xid
4
::update_next_xid
145838
::update_next_xid
4
::update_next_xid
4
<postgres_ffi::v14::bindings::XLogLongPageHeaderData>::encode
0
::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
::encode::{closure#0}
0
<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::bindings::XLogPageHeaderData>::encode
80
::encode
0
::encode
0
::encode
80
::encode
0
<postgres_ffi::v14::bindings::XLogPageHeaderData>::encode::{closure#0}
80
::encode::{closure#0}
0
::encode::{closure#0}
0
::encode::{closure#0}
80
::encode::{closure#0}
0
<postgres_ffi::v14::bindings::XLogPageHeaderData>::from_bytes::<bytes::bytes_mut::BytesMut>
19516
::from_bytes::
4115
::from_bytes::
7010
::from_bytes::
4277
::from_bytes::
4114
<postgres_ffi::v14::bindings::XLogRecord>::encode
22740
::encode
2
::encode
2
::encode
22734
::encode
2
<postgres_ffi::v14::bindings::XLogRecord>::from_slice
169793
::from_slice
42
::from_slice
145894
::from_slice
23815
::from_slice
42
<postgres_ffi::v14::bindings::XLogRecord>::is_xlog_switch_record
169793
::is_xlog_switch_record
42
::is_xlog_switch_record
145894
::is_xlog_switch_record
23815
::is_xlog_switch_record
42
<postgres_ffi::v14::xlog_utils::XlLogicalMessage>::encode
11370
::encode
1
::encode
1
::encode
11367
::encode
1
<postgres_ffi::v15::bindings::XLogRecord>::from_bytes::<_>
145852
::from_bytes::
145852
::from_bytes::<_>
0
::from_bytes::<_>
0
::from_bytes::<_>
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::v17::xlog_utils::IsPartialXLogFileName
0
postgres_ffi::v14::xlog_utils::IsXLogFileName
131
postgres_ffi::v14::xlog_utils::IsXLogFileName
30
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::{closure#0}
1824
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::v17::xlog_utils::IsXLogFileName::{closure#0}
456
postgres_ffi::v14::xlog_utils::XLogFileName
42
postgres_ffi::v14::xlog_utils::XLogFileName
12
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::XLogFromFileName
56
postgres_ffi::v14::xlog_utils::XLogFromFileName
14
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::XLogSegNoOffsetToRecPtr
56
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
14
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
140
postgres_ffi::v14::xlog_utils::XLogSegmentsPerXLogId
38
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::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::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::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::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::v17::xlog_utils::generate_wal_segment
0
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::normalize_lsn
14
postgres_ffi::v14::xlog_utils::normalize_lsn
14
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::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::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::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::xlog_utils::timestamp_conversions::try_from_pg_timestamp
16
postgres_ffi::v14::xlog_utils::timestamp_conversions::try_from_pg_timestamp
2
postgres_ffi::v15::xlog_utils::timestamp_conversions::try_from_pg_timestamp
10
postgres_ffi::v16::xlog_utils::timestamp_conversions::try_from_pg_timestamp
2
postgres_ffi::v17::xlog_utils::timestamp_conversions::try_from_pg_timestamp
2
Generated by:
LCOV version 2.1-beta