LCOV - code coverage report
Current view: top level - libs/consumption_metrics/src - lib.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 75.5 % 49 37
Test Date: 2024-02-29 11:57:12 Functions: 31.2 % 96 30

Function Name Sort by function name Hit count Sort by function hit count
<consumption_metrics::EventType>::is_incremental 0
<consumption_metrics::EventType>::recorded_at 0
<consumption_metrics::IdempotencyKey>::generate 4
consumption_metrics::idempotency_key 4
<consumption_metrics::EventType>::incremental_timerange 6
<consumption_metrics::EventType>::absolute_time 8
<consumption_metrics::EventChunk<_> as serde::ser::Serialize>::serialize::<_> 52
< as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
< as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::expecting 0
< as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::visit_map::<_> 0
< as serde::de::Deserialize>::deserialize::__Visitor<_> as serde::de::Visitor>::visit_seq::<_> 0
< as serde::de::Deserialize>::deserialize::__Visitor> as serde::de::Visitor>::expecting 0
< as serde::de::Deserialize>::deserialize::__Visitor> as serde::de::Visitor>::visit_seq::> 0
as serde::de::Deserialize>::deserialize::<_> 0
as serde::ser::Serialize>::serialize::<_> 0
< as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::> 4
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 4
< as serde::de::Deserialize>::deserialize::__Visitor> as serde::de::Visitor>::visit_map::> 4
> as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 4
> as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 4
> as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer>> 32
<consumption_metrics::IdempotencyKey>::for_tests 74
<consumption_metrics::IdempotencyKey as core::fmt::Display>::fmt 88
<consumption_metrics::EventType as core::cmp::Ord>::cmp 906
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer>>> 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_bytes:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 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::<&mut serde::de::value::SeqDeserializer, >::new>, serde_json::error::Error>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
::clone 0
::cmp 0
::partial_cmp 0
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer>>> 0
::deserialize::<_> 0
::serialize::<&mut serde_json::ser::Serializer<&mut std::io::buffered::bufwriter::BufWriter<&mut camino_tempfile::file::NamedUtf8TempFile>>> 0
::serialize::<_> 0
::serialize::, serde_json::ser::CompactFormatter>>> 16
::serialize::, serde_json::ser::CompactFormatter>>> 72
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 76
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde::de::value::MapDeserializer, serde::__private::de::content::visit_content_map<::deserialize::__Visitor, serde_json::error::Error>::{closure#0}>, serde_json::error::Error>> 76
::deserialize::> 76
::eq 98
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 208
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 284
<consumption_metrics::Event<_, _> as core::cmp::Ord>::cmp 1324
< as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bool::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_bytes::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_char::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f32::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_f64::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i16::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i32::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i64::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_i8::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u16::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u32::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u8::<_> 0
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_unit::<_> 0
< as serde::de::Deserialize>::deserialize::__Visitor<_, _> as serde::de::Visitor>::expecting 0
< as serde::de::Deserialize>::deserialize::__Visitor<_, _> as serde::de::Visitor>::visit_map::<_> 0
< as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
< as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
as core::clone::Clone>::clone 0
as core::cmp::Ord>::cmp 0
as core::cmp::PartialEq>::eq 0
as core::cmp::PartialOrd>::partial_cmp 0
as core::fmt::Debug>::fmt 0
as serde::de::Deserialize>::deserialize::<_> 0
as serde::ser::Serialize>::serialize::<_> 0
as core::fmt::Debug>::fmt 0
< as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 4
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 4
as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 4
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 12
as core::cmp::PartialEq>::eq 60
< as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 72
as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 72
as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer>> 72
< as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::> 512
< as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::visit_borrowed_str:: 512

Generated by: LCOV version 2.1-beta