LCOV - code coverage report
Current view: top level - libs/utils/src - id.rs (source / functions) Coverage Total Hit
Test: 7eb96e224e685167ad85f58f858387d8cf253f63.info Lines: 85.7 % 245 210
Test Date: 2024-09-23 21:23:07 Functions: 55.3 % 159 88

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::NodeId as core::fmt::Display>::fmt 6
<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 as core::convert::AsRef<[u8]>>::as_ref 16
>::as_ref 8
>::as_ref 8
<utils::id::TenantId>::from_array 24
::from_array 12
::from_array 12
<utils::id::TimelineId as core::convert::TryFrom<core::option::Option<&str>>>::try_from 24
<utils::id::TenantTimelineId as core::fmt::Display>::fmt 51
<utils::id::TimelineId as hex::FromHex>::from_hex::<_> 108
::from_hex::<&alloc::string::String> 0
::from_hex::<_> 0
::from_hex::<&str> 5
::from_hex::<&str> 5
::from_hex::<&[u8]> 98
<<utils::id::Id as serde::de::Deserialize>::deserialize::IdVisitor as serde::de::Visitor>::visit_str::<toml_edit::de::Error> 502
<::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:: 501
<utils::id::TenantTimelineId>::generate 2010
<utils::id::Id>::generate 5565
<utils::id::TenantId>::generate 5565
::generate 2709
::generate 2856
<utils::id::Id as core::fmt::Debug>::fmt 9988
<utils::id::TenantId as core::fmt::Debug>::fmt 9988
::fmt 302
::fmt 9686
<utils::id::Id as serde::ser::Serialize>::serialize::<&serde_assert::ser::Serializer> 13616
::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:: 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>>> 27
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 27
::serialize::, serde_json::ser::CompactFormatter>> 36
::serialize::<&mut bincode::ser::Serializer<&mut >::try_from::Crc32Sink, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 42
::serialize::<&mut serde_json::ser::Serializer>> 324
::serialize::<&mut serde_json::ser::Serializer> 1398
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 1504
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 10248
<utils::id::TenantId as core::str::traits::FromStr>::from_str 15243
::from_str 1186
::from_str 14057
<utils::id::Id as core::str::traits::FromStr>::from_str 15745
<utils::id::Id as hex::FromHex>::from_hex::<&str> 15853
::from_hex::<&alloc::string::String> 0
::from_hex::<&[u8]> 98
::from_hex::<&str> 15755
<<utils::id::TenantId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 81622
<::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::<&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:: 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::> 216
<::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>>> 3450
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 77950
<<utils::id::TimelineId as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 81715
<::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_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::> 6
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 12
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 31
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 48
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut serde_json::de::Deserializer> 108
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::> 108
<::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>>> 3450
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 77950
<utils::id::TenantTimelineId>::empty 99483
<<utils::id::Id as serde::de::Deserialize>::deserialize::IdVisitor as serde::de::Visitor>::visit_seq::<&mut serde_assert::de::SeqAccess> 162838
<::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:: 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>>> 33
<::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>>> 6900
<::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>>> 155900
<utils::id::Id as serde::de::Deserialize>::deserialize::<serde_json::value::Value> 163340
::deserialize::<&mut serde_json::de::Deserializer>> 0
::deserialize::<&mut serde_json::de::Deserializer>>> 0
::deserialize::>>>>> 0
::deserialize:: 0
::deserialize:: 1
::deserialize::<&mut serde_assert::de::Deserializer> 2
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 4
::deserialize::> 6
::deserialize::> 12
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::limit::Infinite>>> 33
::deserialize::<&mut serde_json::de::Deserializer> 50
::deserialize::<&mut serde_json::de::Deserializer> 108
::deserialize::> 324
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 6900
::deserialize::<&mut bincode::de::Deserializer>, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 155900
<utils::id::TenantTimelineId>::new 180496
<utils::id::TenantId as core::fmt::Display>::fmt 207861
::fmt 93408
::fmt 114453
<utils::id::Id as core::fmt::Display>::fmt 211124
<utils::id::Id>::hex_encode 221112
<utils::id::TenantId as core::convert::From<[u8; 16]>>::from 268524
>::from 134261
>::from 134263
<utils::id::Id as core::convert::From<[u8; 16]>>::from 436942

Generated by: LCOV version 2.1-beta