LCOV - code coverage report
Current view: top level - libs/utils/src - history_buffer.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 86.7 % 105 91
Test Date: 2024-02-29 11:57:12 Functions: 49.1 % 57 28

Function Name Sort by function name Hit count Sort by function hit count
<utils::history_buffer::HistoryBufferWithDropCounter<_, _> as serde::ser::Serialize>::serialize::<_> 0
as serde::ser::Serialize>::serialize::<_> 0
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
<utils::history_buffer::SerdeRepr<_> as core::convert::From<&utils::history_buffer::HistoryBufferWithDropCounter<_, _>>>::from 0
as core::convert::From<&utils::history_buffer::HistoryBufferWithDropCounter<_, _>>>::from 0
as core::convert::From<&utils::history_buffer::HistoryBufferWithDropCounter>>::from 0
as core::convert::From<&utils::history_buffer::HistoryBufferWithDropCounter>>::from 0
<utils::history_buffer::SerdeRepr<_> as serde::ser::Serialize>::serialize::<_> 0
as serde::ser::Serialize>::serialize::<_> 0
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
<utils::history_buffer::HistoryBufferWithDropCounter<_, _> as core::fmt::Debug>::fmt 2
as core::clone::Clone>::clone 0
as core::fmt::Debug>::fmt 0
as core::clone::Clone>::clone 0
as core::fmt::Debug>::fmt 0
as core::clone::Clone>::clone 0
as core::fmt::Debug>::fmt 0
as core::clone::Clone>::clone 0
as core::fmt::Debug>::fmt 0
as core::clone::Clone>::clone 2
utils::history_buffer::test::test_basics 2
utils::history_buffer::test::test_basics::{closure#1} 2
utils::history_buffer::test::test_clone_works 2
utils::history_buffer::test::test_clone_works::{closure#1} 2
utils::history_buffer::test::test_drop_count_works 2
utils::history_buffer::test::test_drop_count_works::{closure#0} 2
utils::history_buffer::test::test_map 2
utils::history_buffer::test::test_basics::{closure#2} 4
utils::history_buffer::test::test_clone_works::{closure#2} 4
utils::history_buffer::test::test_clone_works::{closure#3} 4
utils::history_buffer::test::test_clone_works::{closure#4} 4
utils::history_buffer::test::test_map::{closure#0} 4
utils::history_buffer::test::test_map::{closure#1} 4
utils::history_buffer::test::test_map::{closure#2} 4
<utils::history_buffer::HistoryBufferWithDropCounter<_, _>>::map::<_, _> 6
>::map::<_, _> 0
>::map::::as_api_model::{closure#3}> 0
>::map:: 2
>::map:: 2
>::map:: 2
utils::history_buffer::test::test_basics::{closure#0} 6
utils::history_buffer::test::test_clone_works::{closure#0} 6
<utils::history_buffer::HistoryBufferWithDropCounter<_, _> as core::ops::deref::Deref>::deref 22
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 22
<utils::history_buffer::HistoryBufferWithDropCounter<_, _>>::drop_count 24
>::drop_count 0
>::drop_count 24
<utils::history_buffer::HistoryBufferWithDropCounter<_, _> as core::default::Default>::default 2320
as core::default::Default>::default 0
as core::default::Default>::default 8
as core::default::Default>::default 1156
as core::default::Default>::default 1156
<utils::history_buffer::HistoryBufferWithDropCounter<_, _>>::write 249876
>::write 0
>::write 28
>::write 1172
>::write 248676

Generated by: LCOV version 2.1-beta