LCOV - code coverage report
Current view: top level - safekeeper/src - state.rs (source / functions) Coverage Total Hit
Test: 2e3a7638747e564a4f6d1af1cc0c3b3438fbb740.info Lines: 80.3 % 122 98
Test Date: 2024-11-20 01:36:58 Functions: 39.4 % 94 37

Function Name Sort by function name Hit count Sort by function hit count
<<safekeeper::state::EvictionState as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 3
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::>> 1
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::> 1
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 0
<<safekeeper::state::PersistedPeers as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 3
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 3
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<<safekeeper::state::TimelineMemState as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>::{closure#0} 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::> 0
<<safekeeper::state::TimelinePersistentState as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 13
<<::deserialize::__Visitor as serde::de::Visitor>::visit_map::__DeserializeWith as serde::de::Deserialize>::deserialize:: 0
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 3
<<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::__DeserializeWith as serde::de::Deserialize>::deserialize:: 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde_json::value::de::MapDeserializer> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>::{closure#0} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>::{closure#1} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer>::{closure#2} 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#0} 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#1} 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#2} 1
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 3
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 3
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::, serde_json::ser::CompactFormatter>> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize::> 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
<::serialize::__SerializeWith as serde::ser::Serialize>::serialize:: 0
<safekeeper::state::TimelinePersistentState>::empty 5
<safekeeper::state::TimelinePersistentState>::new 1458
<safekeeper::state::TimelinePersistentState>::new::{closure#0} 0
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage> as core::ops::deref::Deref>::deref 196260
as core::ops::deref::Deref>::deref 6251
as core::ops::deref::Deref>::deref 186857
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 53
as core::ops::deref::Deref>::deref 3099
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::finish_change 7714
>::finish_change 168
>::finish_change::{closure#0} 168
>::finish_change 3672
>::finish_change::{closure#0} 3672
>::finish_change 0
>::finish_change::{closure#0} 0
>::finish_change 5
>::finish_change::{closure#0} 5
>::finish_change 12
>::finish_change::{closure#0} 12
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::flush 272
>::flush 7
>::flush::{closure#0} 7
>::flush 129
>::flush::{closure#0} 129
>::flush 0
>::flush::{closure#0} 0
>::flush 0
>::flush::{closure#0} 0
>::flush 0
>::flush::{closure#0} 0
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::new 9037
>::new 51
>::new 8976
>::new 0
>::new 4
>::new 6
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::start_change 3857
>::start_change 168
>::start_change 3672
>::start_change 0
>::start_change 5
>::start_change 12
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::term_bump 0
>::term_bump 0
>::term_bump::{closure#0} 0

Generated by: LCOV version 2.1-beta