LCOV - code coverage report
Current view: top level - safekeeper/src - state.rs (source / functions) Coverage Total Hit
Test: b9d67f908f91f00e353a27440ba89f642a869959.info Lines: 80.3 % 122 98
Test Date: 2024-11-19 21:44:13 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 1445
<safekeeper::state::TimelinePersistentState>::new::{closure#0} 0
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage> as core::ops::deref::Deref>::deref 203402
as core::ops::deref::Deref>::deref 6251
as core::ops::deref::Deref>::deref 193999
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 9852
>::finish_change 168
>::finish_change::{closure#0} 168
>::finish_change 4741
>::finish_change::{closure#0} 4741
>::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 328
>::flush 7
>::flush::{closure#0} 7
>::flush 157
>::flush::{closure#0} 157
>::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 8717
>::new 51
>::new 8656
>::new 0
>::new 4
>::new 6
<safekeeper::state::TimelineState<safekeeper::control_file::FileStorage>>::start_change 4926
>::start_change 168
>::start_change 4741
>::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