LCOV - code coverage report
Current view: top level - safekeeper/src - state.rs (source / functions) Coverage Total Hit
Test: 20b6afc7b7f34578dcaab2b3acdaecfe91cd8bf1.info Lines: 80.3 % 122 98
Test Date: 2024-11-25 17:48:16 Functions: 39.4 % 94 37

Function Name Sort by function name Hit count Sort by function hit count
<<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>::new::{closure#0} 0
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::term_bump 0
>::term_bump 0
>::term_bump::{closure#0} 0
<<safekeeper::state::EvictionState as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 3
<::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::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::>> 1
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 1
<<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:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 3
<safekeeper::state::TimelinePersistentState>::empty 5
<<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:: 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
<::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::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
<::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
<<::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
<::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
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::flush 346
>::flush 0
>::flush::{closure#0} 0
>::flush 0
>::flush::{closure#0} 0
>::flush 0
>::flush::{closure#0} 0
>::flush 7
>::flush::{closure#0} 7
>::flush 166
>::flush::{closure#0} 166
<safekeeper::state::TimelinePersistentState>::new 1470
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::start_change 5505
>::start_change 0
>::start_change 5
>::start_change 12
>::start_change 168
>::start_change 5320
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::new 9308
>::new 0
>::new 4
>::new 6
>::new 51
>::new 9247
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::finish_change 11010
>::finish_change 0
>::finish_change::{closure#0} 0
>::finish_change 5
>::finish_change::{closure#0} 5
>::finish_change 12
>::finish_change::{closure#0} 12
>::finish_change 168
>::finish_change::{closure#0} 168
>::finish_change 5320
>::finish_change::{closure#0} 5320
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage> as core::ops::deref::Deref>::deref 225606
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 53
as core::ops::deref::Deref>::deref 3099
as core::ops::deref::Deref>::deref 6251
as core::ops::deref::Deref>::deref 216203

Generated by: LCOV version 2.1-beta