LCOV - code coverage report
Current view: top level - libs/utils/src - id.rs (source / functions) Coverage Total Hit
Test: 3eba1babe267649f8cebefc91c236589db030548.info Lines: 85.7 % 245 210
Test Date: 2024-11-22 12:36:12 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::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
<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::IdError as core::fmt::Display>::fmt 0
<utils::id::NodeId as core::str::traits::FromStr>::from_str 0
<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::TimelineId as core::convert::TryFrom<core::option::Option<&str>>>::try_from::{closure#0} 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
<utils::id::NodeId as serde::de::Deserialize>::deserialize::<_>::{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
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>>::{closure#0} 2
<utils::id::TimelineId as core::convert::TryFrom<core::option::Option<&str>>>::try_from 8
<utils::id::Id>::as_arr 11
<utils::id::TenantId>::as_arr 11
::as_arr 5
::as_arr 6
<utils::id::Id>::from_slice 14
<utils::id::TenantId>::from_slice 14
::from_slice 7
::from_slice 7
<utils::id::TenantId>::from_array 16
::from_array 8
::from_array 8
<utils::id::TenantId as core::convert::AsRef<[u8]>>::as_ref 20
>::as_ref 10
>::as_ref 10
<utils::id::TimelineId as hex::FromHex>::from_hex::<_> 44
::from_hex::<&alloc::string::String> 0
::from_hex::<_> 0
::from_hex::<&str> 4
::from_hex::<&str> 4
::from_hex::<&[u8]> 36
<utils::id::TenantTimelineId as core::fmt::Display>::fmt 51
<utils::id::NodeId as core::fmt::Display>::fmt 202
<<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:: 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_str:: 1
<::deserialize::IdVisitor as serde::de::Visitor>::visit_str:: 205
<utils::id::TenantTimelineId>::generate 508
<utils::id::Id as core::fmt::Debug>::fmt 3732
<utils::id::TenantId as core::fmt::Debug>::fmt 3732
::fmt 302
::fmt 3430
<utils::id::Id as serde::ser::Serialize>::serialize::<&serde_assert::ser::Serializer> 4640
::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 std::io::buffered::bufwriter::BufWriter<&mut camino_tempfile::file::NamedUtf8TempFile>>> 0
::serialize::<&mut serde_json::ser::Serializer<&mut utils::http::endpoint::ChannelWriter>> 0
::serialize:: 0
::serialize::<&serde_assert::ser::Serializer> 2
::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>>> 4
::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::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 11
::serialize::, serde_json::ser::CompactFormatter>> 12
::serialize::<&mut bincode::ser::Serializer<&mut >::try_from::Crc32Sink, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 14
::serialize:: 36
::serialize::<&mut serde_json::ser::Serializer>> 108
::serialize::<&mut serde_json::ser::Serializer> 470
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 508
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 3460
<utils::id::TenantId as core::str::traits::FromStr>::from_str 5001
::from_str 316
::from_str 4685
<utils::id::Id as core::str::traits::FromStr>::from_str 5207
<utils::id::Id as hex::FromHex>::from_hex::<&str> 5251
::from_hex::<&alloc::string::String> 0
::from_hex::<&[u8]> 36
::from_hex::<&str> 5215
<utils::id::Id>::generate 6553
<utils::id::TenantId>::generate 6553
::generate 794
::generate 5759
<<utils::id::TenantId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 21637
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::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> 0
<::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
<::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 serde_json::de::Deserializer> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct:: 25
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 72
<::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 bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 20345
<<utils::id::TimelineId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 21654
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer>> 0
<::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_newtype_struct::>>>>> 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>>> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 4
<::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:: 12
<::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::> 36
<::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 bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 20345
<utils::id::TenantTimelineId>::empty 25927
<<utils::id::Id as serde::de::Deserialize>::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde_assert::de::SeqAccess> 43088
<::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_json::value::de::SeqDeserializer> 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
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq:: 0
<::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde_assert::de::SeqAccess> 1
<::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::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::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 2380
<::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>>> 40690
<utils::id::Id as serde::de::Deserialize>::deserialize::<serde_json::value::Value> 43294
::deserialize::<&mut serde_json::de::Deserializer>> 0
::deserialize::> 0
::deserialize::>>>>> 0
::deserialize:: 0
::deserialize::<&mut serde_assert::de::Deserializer> 2
::deserialize::> 2
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 4
::deserialize::> 4
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 13
::deserialize::<&mut serde_json::de::Deserializer> 18
::deserialize::<&mut serde_json::de::Deserializer> 36
::deserialize:: 37
::deserialize::> 108
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 2380
::deserialize::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 40690
<utils::id::TenantTimelineId>::new 47011
<utils::id::TenantId as core::fmt::Display>::fmt 62894
::fmt 27038
::fmt 35856
<utils::id::Id as core::fmt::Display>::fmt 64029
<utils::id::Id>::hex_encode 67761
<utils::id::TenantId as core::convert::From<[u8; 16]>>::from 70094
>::from 35046
>::from 35048
<utils::id::Id as core::convert::From<[u8; 16]>>::from 119750

Generated by: LCOV version 2.1-beta