LCOV - code coverage report
Current view: top level - libs/utils/src - id.rs (source / functions) Coverage Total Hit
Test: 09e7485004805bd42b53a0c369170b3228136512.info Lines: 85.7 % 245 210
Test Date: 2024-11-21 18:36:18 Functions: 56.6 % 159 90

Function Name Sort by function name Hit count Sort by function hit count
<<utils::id::Id as serde::de::Deserialize>::deserialize::IdVisitor as serde::de::Visitor>::expecting 0
<<utils::id::Id as serde::de::Deserialize>::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde_assert::de::SeqAccess> 39692
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde::de::value::SeqDeserializer, >::new>, serde_json::error::Error>> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde::de::value::SeqDeserializer, >::new>, serde_json::error::Error>> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde_assert::de::SeqAccess> 1
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde_json::value::de::SeqDeserializer> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 37294
<::deserialize::IdVisitor 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>>> 13
<::deserialize::IdVisitor 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>>> 4
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 2380
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::>> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::>>>>> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq:: 0
<<utils::id::Id as serde::de::Deserialize>::deserialize::IdVisitor as serde::de::Visitor>::visit_str::<toml_edit::de::Error> 206
<::deserialize::IdVisitor as serde::de::Visitor>::visit_str::> 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_str:: 1
<::deserialize::IdVisitor as serde::de::Visitor>::visit_str:: 205
<::deserialize::IdVisitor as serde::de::Visitor>::visit_str:: 0
<<utils::id::TenantId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 19939
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 18647
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 1
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 1190
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 72
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 25
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::>>>>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<<utils::id::TenantTimelineId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Field 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_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_map::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<<utils::id::TimelineId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 19956
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 18647
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 11
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 1190
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 16
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 36
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 36
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 4
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 12
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::>>>>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<u128 as core::convert::From<utils::id::Id>>::from 0
<u128 as core::convert::From<utils::id::TenantId>>::from 0
>::from 0
>::from 0
<utils::id::Id as core::convert::AsRef<[u8]>>::as_ref 0
<utils::id::Id as core::convert::From<[u8; 16]>>::from 110612
<utils::id::Id as core::fmt::Debug>::fmt 3732
<utils::id::Id as core::fmt::Display>::fmt 62544
<utils::id::Id as core::str::traits::FromStr>::from_str 5097
<utils::id::Id as hex::FromHex>::from_hex::<&str> 5141
::from_hex::<&[u8]> 36
::from_hex::<&alloc::string::String> 0
::from_hex::<&str> 5105
<utils::id::Id as serde::de::Deserialize>::deserialize::<serde_json::value::Value> 39898
::deserialize::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 37294
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 13
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 4
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 2380
::deserialize::<&mut serde_assert::de::Deserializer> 2
::deserialize::<&mut serde_json::de::Deserializer>> 0
::deserialize::<&mut serde_json::de::Deserializer> 18
::deserialize::<&mut serde_json::de::Deserializer> 36
::deserialize::> 108
::deserialize::> 0
::deserialize::> 4
::deserialize::> 2
::deserialize:: 37
::deserialize::>>>>> 0
::deserialize:: 0
<utils::id::Id as serde::ser::Serialize>::serialize::<&serde_assert::ser::Serializer> 4641
::serialize::<&mut bincode::ser::Serializer<&mut >::try_from::Crc32Sink, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 14
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 3460
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 11
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 4
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 11
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 4
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherLimit, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec, serde_json::ser::PrettyFormatter>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 509
::serialize::<&mut serde_json::ser::Serializer<&mut std::io::buffered::bufwriter::BufWriter<&mut camino_tempfile::file::NamedUtf8TempFile>>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
::serialize::<&mut serde_json::ser::Serializer>> 108
::serialize::<&mut serde_json::ser::Serializer> 470
::serialize::<&serde_assert::ser::Serializer> 2
::serialize::, serde_json::ser::CompactFormatter>> 12
::serialize:: 36
::serialize:: 0
<utils::id::Id>::as_arr 11
<utils::id::Id>::from_slice 14
<utils::id::Id>::generate 6553
<utils::id::Id>::hex_encode 66276
<utils::id::IdError as core::fmt::Display>::fmt 0
<utils::id::NodeId as core::fmt::Display>::fmt 202
<utils::id::NodeId as core::str::traits::FromStr>::from_str 0
<utils::id::NodeId as serde::de::Deserialize>::deserialize::<_>::{closure#0} 2
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#0} 2
::deserialize::<&mut serde_json::de::Deserializer>::{closure#0} 0
::deserialize::<_>::{closure#0} 0
::deserialize::>::{closure#0} 0
::deserialize::>::{closure#0} 0
::deserialize::>::{closure#0} 0
::deserialize::>::{closure#0} 0
::deserialize::>::{closure#0} 0
::deserialize::::{closure#0} 0
::deserialize::>>>>>::{closure#0} 0
::deserialize::::{closure#0} 0
<utils::id::TenantId as core::convert::AsRef<[u8]>>::as_ref 20
>::as_ref 10
>::as_ref 10
<utils::id::TenantId as core::convert::From<[u8; 16]>>::from 64352
>::from 32177
>::from 32175
<utils::id::TenantId as core::fmt::Debug>::fmt 3732
::fmt 302
::fmt 3430
<utils::id::TenantId as core::fmt::Display>::fmt 61408
::fmt 35113
::fmt 26295
<utils::id::TenantId as core::str::traits::FromStr>::from_str 4891
::from_str 4630
::from_str 261
<utils::id::TenantId>::as_arr 11
::as_arr 5
::as_arr 6
<utils::id::TenantId>::from_array 16
::from_array 8
::from_array 8
<utils::id::TenantId>::from_slice 14
::from_slice 7
::from_slice 7
<utils::id::TenantId>::generate 6553
::generate 5759
::generate 794
<utils::id::TenantTimelineId as core::fmt::Display>::fmt 51
<utils::id::TenantTimelineId as core::str::traits::FromStr>::from_str 0
<utils::id::TenantTimelineId as core::str::traits::FromStr>::from_str::{closure#0} 0
<utils::id::TenantTimelineId as core::str::traits::FromStr>::from_str::{closure#1} 0
<utils::id::TenantTimelineId>::empty 23774
<utils::id::TenantTimelineId>::generate 508
<utils::id::TenantTimelineId>::new 43105
<utils::id::TimelineId as core::convert::TryFrom<core::option::Option<&str>>>::try_from 8
<utils::id::TimelineId as core::convert::TryFrom<core::option::Option<&str>>>::try_from::{closure#0} 0
<utils::id::TimelineId as hex::FromHex>::from_hex::<_> 44
::from_hex::<&[u8]> 36
::from_hex::<&alloc::string::String> 0
::from_hex::<&str> 4
::from_hex::<&str> 4
::from_hex::<_> 0
utils::id::tests::test_id_bincode_serde 1
utils::id::tests::test_id_serde_human_readable 1
utils::id::tests::test_id_serde_non_human_readable 1
utils::id::tests::test_tenant_id_bincode_serde 1
utils::id::tests::test_timeline_id_bincode_serde 1

Generated by: LCOV version 2.1-beta